Table of Contents

Class AttributeLimit

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

An additional limit for a Attribute object.

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

Properties

Attribute

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

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

Property Value

Attribute

AttributeId

Gets the foreign key for Attribute.

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

Property Value

int

Key

Gets or sets the key.

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

Property Value

string

Methods

ApplyID(AttributeLimit)

Copies the ID from source to ID.

public void ApplyID(AttributeLimit source)

Parameters

source AttributeLimit

Source object.

Equals(AttributeLimit)

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

public bool Equals(AttributeLimit other)

Parameters

other AttributeLimit

An object to compare with this object.

Returns

bool

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

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.