Class TrustNode
- Namespace
- ZeroInstall.Store.ViewModel
- Assembly
- ZeroInstall.Store.dll
public sealed record TrustNode : INamed, IEquatable<TrustNode>
- Inheritance
-
objectTrustNode
- Implements
Constructors
TrustNode(string, Domain)
public TrustNode(string Fingerprint, Domain Domain)
Parameters
FingerprintstringThe Fingerprint.
DomainDomainThe domain the fingerprint is valid for.
Properties
Domain
The domain the fingerprint is valid for.
public Domain Domain { get; init; }
Property Value
Fingerprint
The Fingerprint.
public string Fingerprint { get; init; }
Property Value
Name
The full name of the node used for tree hierarchies.
[Browsable(false)]
public string Name { get; set; }
Property Value
Methods
Deconstruct(out string, out Domain)
public void Deconstruct(out string Fingerprint, out Domain Domain)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(TrustNode?)
public bool Equals(TrustNode? other)
Parameters
otherTrustNode
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(TrustNode?, TrustNode?)
public static bool operator ==(TrustNode? left, TrustNode? right)
Parameters
Returns
operator !=(TrustNode?, TrustNode?)
public static bool operator !=(TrustNode? left, TrustNode? right)