Table of Contents

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

Name string
Value string

ComponentProperty(ComponentProperty)

protected ComponentProperty(ComponentProperty original)

Parameters

original ComponentProperty

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Name

public string Name { get; init; }

Property Value

string

Value

public string Value { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string)

public void Deconstruct(out string Name, out string Value)

Parameters

Name string
Value string

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ComponentProperty?)

public virtual bool Equals(ComponentProperty? other)

Parameters

other ComponentProperty

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ComponentProperty?, ComponentProperty?)

public static bool operator ==(ComponentProperty? left, ComponentProperty? right)

Parameters

left ComponentProperty
right ComponentProperty

Returns

bool

operator !=(ComponentProperty?, ComponentProperty?)

public static bool operator !=(ComponentProperty? left, ComponentProperty? right)

Parameters

left ComponentProperty
right ComponentProperty

Returns

bool