Class PatternGroupingKey
- Namespace
- Cratis.Chronicle.Concepts.Patterns
- Assembly
- Cratis.Chronicle.dll
Represents the scope patterns are mined and looked up within - typically the identity of the user the behavior belongs to.
public record PatternGroupingKey : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<PatternGroupingKey>
- Inheritance
-
PatternGroupingKey
- Implements
- Inherited Members
- Extension Methods
Constructors
PatternGroupingKey(PatternGroupingKey)
protected PatternGroupingKey(PatternGroupingKey original)
Parameters
originalPatternGroupingKey
PatternGroupingKey(string)
Represents the scope patterns are mined and looked up within - typically the identity of the user the behavior belongs to.
public PatternGroupingKey(string Value)
Parameters
ValuestringThe actual value.
Fields
Unspecified
Represents an unspecified PatternGroupingKey.
public static readonly PatternGroupingKey Unspecified
Field Value
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
IsSpecified
Gets a value indicating whether the key identifies a scope.
public bool IsSpecified { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(PatternGroupingKey?)
public virtual bool Equals(PatternGroupingKey? other)
Parameters
otherPatternGroupingKey
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 ==(PatternGroupingKey?, PatternGroupingKey?)
public static bool operator ==(PatternGroupingKey? left, PatternGroupingKey? right)
Parameters
leftPatternGroupingKeyrightPatternGroupingKey
Returns
implicit operator PatternGroupingKey(string?)
Implicitly convert from a string to PatternGroupingKey.
public static implicit operator PatternGroupingKey(string? key)
Parameters
keystringString to convert from.
Returns
operator !=(PatternGroupingKey?, PatternGroupingKey?)
public static bool operator !=(PatternGroupingKey? left, PatternGroupingKey? right)
Parameters
leftPatternGroupingKeyrightPatternGroupingKey