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

original IdentityId

IdentityId(string)

Represents the unique identifier for the identity owned by the identity provider.

public IdentityId(string Value)

Parameters

Value string

Concept value.

Fields

Empty

Represents an empty IdentityId.

public static readonly IdentityId Empty

Field Value

IdentityId

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(IdentityId?)

public virtual bool Equals(IdentityId? other)

Parameters

other IdentityId

Returns

bool

Equals(ConceptAs<string>?)

public override sealed bool Equals(ConceptAs<string>? other)

Parameters

other ConceptAs<string>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

Operators

operator ==(IdentityId?, IdentityId?)

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

Parameters

left IdentityId
right IdentityId

Returns

bool

implicit operator IdentityId(string)

Implicitly convert from string to IdentityId.

public static implicit operator IdentityId(string value)

Parameters

value string

String to convert from.

Returns

IdentityId

operator !=(IdentityId?, IdentityId?)

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

Parameters

left IdentityId
right IdentityId

Returns

bool