Table of Contents

Class TypeDataParameter

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

An additional parameter for a TypeData object.

[MessagePackObject(false)]
public class TypeDataParameter : AdditionalParameter, INotifyPropertyChanged, ITrackable, IHasKey, IEquatable<AdditionalParameter>, ICanApplyID<AdditionalParameter>, IEquatable<TypeDataParameter>, ICanApplyID<TypeDataParameter>
Inheritance
TypeDataParameter
Implements
Inherited Members
Extension Methods

Properties

AdditionalParameterDefinitions

Gets the additional parameter definitions.

protected override IDictionary<string, IAdditionalParameterDefinition> AdditionalParameterDefinitions { get; }

Property Value

IDictionary<string, IAdditionalParameterDefinition>

TypeData

Gets the TypeData object, to which the additional parameter belongs.

[JsonIgnore]
[IgnoreMember]
public virtual TypeData TypeData { get; }

Property Value

TypeData

TypedataId

Gets the foreign key for TypeData.

[JsonIgnore]
[IgnoreMember]
public int TypedataId { get; }

Property Value

int

Methods

ApplyID(TypeDataParameter)

Copies the ID from source to ID.

public void ApplyID(TypeDataParameter source)

Parameters

source TypeDataParameter

Source object.

Equals(TypeDataParameter)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(TypeDataParameter other)

Parameters

other TypeDataParameter

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.