Class IdentityId
- Namespace
- Cratis.Arc.Identity
- Assembly
- Cratis.Arc.Core.dll
Represents the unique identifier for the identity owned by the identity provider.
public record IdentityId : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<IdentityId>
- Inheritance
-
IdentityId
- Implements
- Inherited Members
- Extension Methods
Constructors
IdentityId(IdentityId)
protected IdentityId(IdentityId original)
Parameters
originalIdentityId
IdentityId(string)
Represents the unique identifier for the identity owned by the identity provider.
public IdentityId(string Value)
Parameters
ValuestringConcept value.
Fields
Empty
Represents an empty IdentityId.
public static readonly IdentityId Empty
Field Value
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(IdentityId?)
public virtual bool Equals(IdentityId? other)
Parameters
otherIdentityId
Returns
Equals(ConceptAs<string>?)
public override sealed bool Equals(ConceptAs<string>? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
Operators
operator ==(IdentityId?, IdentityId?)
public static bool operator ==(IdentityId? left, IdentityId? right)
Parameters
leftIdentityIdrightIdentityId
Returns
implicit operator IdentityId(string)
Implicitly convert from string to IdentityId.
public static implicit operator IdentityId(string value)
Parameters
valuestringString to convert from.
Returns
operator !=(IdentityId?, IdentityId?)
public static bool operator !=(IdentityId? left, IdentityId? right)
Parameters
leftIdentityIdrightIdentityId