Table of Contents

Class PointLimit

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

An additional limit for a Point object.

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

Properties

Key

Gets or sets the key.

[Key(3)]
public string Key { get; set; }

Property Value

string

Point

Gets the Point object, to which the additional limit belongs.

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

Property Value

Point

PointId

Gets the foreign key for Point.

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

Property Value

int

Methods

ApplyID(PointLimit)

Copies the ID from source to ID.

public void ApplyID(PointLimit source)

Parameters

source PointLimit

Source object.

Equals(PointLimit)

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

public bool Equals(PointLimit other)

Parameters

other PointLimit

An object to compare with this object.

Returns

bool

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