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
public XamlLiteralCapability(XamlProperty<T> Property, Action<T> Validate)
Parameters
Property XamlProperty<T>
Validate Action<T>
Properties
public XamlProperty<T> Property { get; init; }
Property Value
- XamlProperty<T>
public Action<T> Validate { get; init; }
Property Value
- Action<T>
Methods
public void Deconstruct(out XamlProperty<T> Property, out Action<T> Validate)
Parameters
Property XamlProperty<T>
Validate Action<T>
public bool Equals(XamlLiteralCapability<T>? other)
Parameters
other XamlLiteralCapability<T>
Returns
- bool
public override bool Equals(object? obj)
Parameters
obj object
Returns
- bool
public override int GetHashCode()
Returns
- int
public override string ToString()
Returns
- string
Operators
public static bool operator ==(XamlLiteralCapability<T>? left, XamlLiteralCapability<T>? right)
Parameters
left XamlLiteralCapability<T>
right XamlLiteralCapability<T>
Returns
- bool
public static bool operator !=(XamlLiteralCapability<T>? left, XamlLiteralCapability<T>? right)
Parameters
left XamlLiteralCapability<T>
right XamlLiteralCapability<T>
Returns
- bool