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
originalWebhookId
WebhookId(string)
Represents the unique identifier of a webhook.
public WebhookId(string Value)
Parameters
ValuestringThe actual value.
Fields
Unspecified
Gets the representation of an unspecified WebhookId.
public static readonly WebhookId Unspecified
Field Value
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(WebhookId?)
public virtual bool Equals(WebhookId? other)
Parameters
otherWebhookId
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 ==(WebhookId?, WebhookId?)
public static bool operator ==(WebhookId? left, WebhookId? right)
Parameters
Returns
implicit operator WebhookId(ObserverId)
Implicitly convert from ObserverId to WebhookId.
public static implicit operator WebhookId(ObserverId id)
Parameters
idObserverIdObserverId to convert from.
Returns
implicit operator ObserverId(WebhookId)
Implicitly convert from WebhookId to ObserverId.
public static implicit operator ObserverId(WebhookId id)
Parameters
Returns
implicit operator WebhookId(string)
Implicitly convert from a string to WebhookId.
public static implicit operator WebhookId(string id)
Parameters
idstringString to convert from.
Returns
operator !=(WebhookId?, WebhookId?)
public static bool operator !=(WebhookId? left, WebhookId? right)