Table of Contents

Class BatchParameter

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

Represents a additional parameter for a Batch instance.

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

Properties

AdditionalParameterDefinitions

Gets the additional parameter definitions.

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

Property Value

IDictionary<string, IAdditionalParameterDefinition>

Batch

Gets the batch, to which the additional parameter belongs.

[JsonIgnore]
public virtual Batch Batch { get; }

Property Value

Batch

BatchId

Gets the foreign key.

[JsonIgnore]
public int BatchId { get; }

Property Value

int

Methods

ApplyID(BatchParameter)

Copies the ID from source to ID and the BatchId.

public void ApplyID(BatchParameter source)

Parameters

source BatchParameter

Source object.

Equals(BatchParameter)

Indicates whether the current object is equal to another object of the same type. Depends on the Key and Text.

public bool Equals(BatchParameter other)

Parameters

other BatchParameter

An object to compare with this object.

Returns

bool

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