Class IdGenerationRequest
Namespace: Cephalon.Abstractions.Ids
Assembly: Cephalon.Abstractions.dll
Describes optional hints supplied to an identifier generator.
public sealed class IdGenerationRequestInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”IdGenerationRequest(string?, string?, string?, IReadOnlyDictionary<string, string>?)
Section titled “ IdGenerationRequest(string?, string?, string?, IReadOnlyDictionary<string, string>?)”Creates a new identifier-generation request.
public IdGenerationRequest(string? kind = null, string? scope = null, string? tenantId = null, IReadOnlyDictionary<string, string>? attributes = null)Parameters
Section titled “Parameters”kind string?
The logical identifier kind or entity category when one is known.
scope string?
The logical generation scope when one is known.
tenantId string?
The tenant identifier associated with the requested identifier when one is known.
attributes IReadOnlyDictionary<string, string>?
Optional generation hints supplied by the caller.
Properties
Section titled “Properties”Attributes
Section titled “ Attributes”Gets optional generation hints supplied by the caller.
public IReadOnlyDictionary<string, string> Attributes { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
HasValues
Section titled “ HasValues”Gets a value indicating whether any generation hints were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”Gets the logical identifier kind or entity category when one is known.
public string? Kind { get; }Property Value
Section titled “Property Value”Gets the logical generation scope when one is known.
public string? Scope { get; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant identifier associated with the requested identifier when one is known.
public string? TenantId { get; }