Class WebhookId

Namespace
Cratis.Chronicle.Webhooks
Assembly
Cratis.Chronicle.dll

Represents the unique identifier of a webhook.

public record WebhookId : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<WebhookId>
Inheritance
WebhookId
Implements
Inherited Members
Extension Methods

Constructors

WebhookId(WebhookId)

protected WebhookId(WebhookId original)

Parameters

original WebhookId

WebhookId(string)

Represents the unique identifier of a webhook.

public WebhookId(string Value)

Parameters

Value string

The actual value.

Fields

Unspecified

Gets the representation of an unspecified WebhookId.

public static readonly WebhookId Unspecified

Field Value

WebhookId

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(WebhookId?)

public virtual bool Equals(WebhookId? other)

Parameters

other WebhookId

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 ==(WebhookId?, WebhookId?)

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

Parameters

left WebhookId
right WebhookId

Returns

bool

implicit operator WebhookId(ObserverId)

Implicitly convert from ObserverId to WebhookId.

public static implicit operator WebhookId(ObserverId id)

Parameters

id ObserverId

ObserverId to convert from.

Returns

WebhookId

implicit operator ObserverId(WebhookId)

Implicitly convert from WebhookId to ObserverId.

public static implicit operator ObserverId(WebhookId id)

Parameters

id WebhookId

WebhookId to convert from.

Returns

ObserverId

implicit operator WebhookId(string)

Implicitly convert from a string to WebhookId.

public static implicit operator WebhookId(string id)

Parameters

id string

String to convert from.

Returns

WebhookId

operator !=(WebhookId?, WebhookId?)

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

Parameters

left WebhookId
right WebhookId

Returns

bool