Class ComponentProperty
- Namespace
- Tudormobile.IronLedgerLib
- Assembly
- Tudormobile.IronLedgerLib.dll
Represents a name/value property pair for component data.
public record ComponentProperty : IEquatable<ComponentProperty>
- Inheritance
-
ComponentProperty
- Implements
- Inherited Members
Constructors
ComponentProperty(string, string)
Represents a name/value property pair for component data.
public ComponentProperty(string Name, string Value)
Parameters
ComponentProperty(ComponentProperty)
protected ComponentProperty(ComponentProperty original)
Parameters
originalComponentProperty
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
public string Name { get; init; }
Property Value
Value
public string Value { get; init; }
Property Value
Methods
Deconstruct(out string, out string)
public void Deconstruct(out string Name, out string Value)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ComponentProperty?)
public virtual bool Equals(ComponentProperty? other)
Parameters
otherComponentProperty
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ComponentProperty?, ComponentProperty?)
public static bool operator ==(ComponentProperty? left, ComponentProperty? right)
Parameters
leftComponentPropertyrightComponentProperty
Returns
operator !=(ComponentProperty?, ComponentProperty?)
public static bool operator !=(ComponentProperty? left, ComponentProperty? right)
Parameters
leftComponentPropertyrightComponentProperty