Class XamlLiteralCapability<T>

Namespace
Forma.Xaml
Assembly
Forma.dll
public sealed record XamlLiteralCapability<T> : IEquatable<XamlLiteralCapability<T>>

Type Parameters

T
Inheritance
XamlLiteralCapability<T>
Implements
Inherited Members

Constructors

XamlLiteralCapability(XamlProperty<T>, Action<T>)

public XamlLiteralCapability(XamlProperty<T> Property, Action<T> Validate)

Parameters

Property XamlProperty<T>
Validate Action<T>

Properties

Property

public XamlProperty<T> Property { get; init; }

Property Value

XamlProperty<T>

Validate

public Action<T> Validate { get; init; }

Property Value

Action<T>

Methods

Deconstruct(out XamlProperty<T>, out Action<T>)

public void Deconstruct(out XamlProperty<T> Property, out Action<T> Validate)

Parameters

Property XamlProperty<T>
Validate Action<T>

Equals(XamlLiteralCapability<T>?)

public bool Equals(XamlLiteralCapability<T>? other)

Parameters

other XamlLiteralCapability<T>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(XamlLiteralCapability<T>?, XamlLiteralCapability<T>?)

public static bool operator ==(XamlLiteralCapability<T>? left, XamlLiteralCapability<T>? right)

Parameters

left XamlLiteralCapability<T>
right XamlLiteralCapability<T>

Returns

bool

operator !=(XamlLiteralCapability<T>?, XamlLiteralCapability<T>?)

public static bool operator !=(XamlLiteralCapability<T>? left, XamlLiteralCapability<T>? right)

Parameters

left XamlLiteralCapability<T>
right XamlLiteralCapability<T>

Returns

bool