Class WebhookTargetUrl

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

Represents the target URL for a webhook.

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

Constructors

WebhookTargetUrl(WebhookTargetUrl)

protected WebhookTargetUrl(WebhookTargetUrl original)

Parameters

original WebhookTargetUrl

WebhookTargetUrl(string)

Represents the target URL for a webhook.

public WebhookTargetUrl(string Value)

Parameters

Value string

The url string.

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(WebhookTargetUrl?)

public virtual bool Equals(WebhookTargetUrl? other)

Parameters

other WebhookTargetUrl

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

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

Parameters

left WebhookTargetUrl
right WebhookTargetUrl

Returns

bool

implicit operator string(WebhookTargetUrl)

public static implicit operator string(WebhookTargetUrl url)

Parameters

url WebhookTargetUrl

Returns

string

implicit operator WebhookTargetUrl(string)

public static implicit operator WebhookTargetUrl(string value)

Parameters

value string

Returns

WebhookTargetUrl

operator !=(WebhookTargetUrl?, WebhookTargetUrl?)

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

Parameters

left WebhookTargetUrl
right WebhookTargetUrl

Returns

bool