Table of Contents

Class StationParameter

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

Represents a additional parameter for a Station instance.

public class StationParameter : AdditionalParameter, INotifyPropertyChanged, ITrackable, IHasKey, IEquatable<AdditionalParameter>, ICanApplyID<AdditionalParameter>, IEquatable<StationParameter>, ICanApplyID<StationParameter>
Inheritance
StationParameter
Implements
Inherited Members
Extension Methods

Properties

AdditionalParameterDefinitions

Gets the additional parameter definitions.

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

Property Value

IDictionary<string, IAdditionalParameterDefinition>

Station

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

[JsonIgnore]
public virtual Station Station { get; }

Property Value

Station

StationId

Gets the foreign key for Station.

[JsonIgnore]
public int StationId { get; }

Property Value

int

Methods

ApplyID(StationParameter)

Copies the ID from source to ID.

public void ApplyID(StationParameter source)

Parameters

source StationParameter

Source object.

Equals(StationParameter)

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

public bool Equals(StationParameter other)

Parameters

other StationParameter

An object to compare with this object.

Returns

bool

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