Class BowireMethodRef

Namespace
Kuestenlogik.Bowire.Schemas
Assembly
Kuestenlogik.Bowire.dll

A reference to one method inside a service, used in the added/removed buckets of a BowireSchemaDelta. Method is the method's full name — the identity the diff aligns on.

public sealed record BowireMethodRef : IEquatable<BowireMethodRef>
Inheritance
BowireMethodRef
Implements
Inherited Members

Constructors

BowireMethodRef(string, string)

A reference to one method inside a service, used in the added/removed buckets of a BowireSchemaDelta. Method is the method's full name — the identity the diff aligns on.

public BowireMethodRef(string Service, string Method)

Parameters

Service string
Method string

Properties

Method

public string Method { get; init; }

Property Value

string

Service

public string Service { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string)

public void Deconstruct(out string Service, out string Method)

Parameters

Service string
Method string

Equals(BowireMethodRef?)

public bool Equals(BowireMethodRef? other)

Parameters

other BowireMethodRef

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BowireMethodRef?, BowireMethodRef?)

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

Parameters

left BowireMethodRef
right BowireMethodRef

Returns

bool

operator !=(BowireMethodRef?, BowireMethodRef?)

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

Parameters

left BowireMethodRef
right BowireMethodRef

Returns

bool