Skip to content

Class IdGenerationRequest

Namespace: Cephalon.Abstractions.Ids
Assembly: Cephalon.Abstractions.dll

Describes optional hints supplied to an identifier generator.

public sealed class IdGenerationRequest

objectIdGenerationRequest

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

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)

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.

Gets optional generation hints supplied by the caller.

public IReadOnlyDictionary<string, string> Attributes { get; }

IReadOnlyDictionary<string, string>

Gets a value indicating whether any generation hints were explicitly supplied.

public bool HasValues { get; }

bool

Gets the logical identifier kind or entity category when one is known.

public string? Kind { get; }

string?

Gets the logical generation scope when one is known.

public string? Scope { get; }

string?

Gets the tenant identifier associated with the requested identifier when one is known.

public string? TenantId { get; }

string?