Class BowireManualEntryForm

Namespace
Kuestenlogik.Bowire
Assembly
Kuestenlogik.Bowire.dll

How a call to one protocol is entered by hand.

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

Constructors

BowireManualEntryForm(IReadOnlyList<BowireManualCallKind>)

How a call to one protocol is entered by hand.

public BowireManualEntryForm(IReadOnlyList<BowireManualCallKind> CallKinds)

Parameters

CallKinds IReadOnlyList<BowireManualCallKind>

The kinds of call the protocol offers, in the order the form lists them. At least one.

Properties

CallKinds

The kinds of call the protocol offers, in the order the form lists them. At least one.

public IReadOnlyList<BowireManualCallKind> CallKinds { get; init; }

Property Value

IReadOnlyList<BowireManualCallKind>

Fields

The fields a call needs, in the order the form shows them.

public IReadOnlyList<BowireManualField> Fields { get; init; }

Property Value

IReadOnlyList<BowireManualField>

UrlPlaceholder

An example server URL for the URL field, e.g. kafka://localhost:9092.

public string? UrlPlaceholder { get; init; }

Property Value

string

Methods

Deconstruct(out IReadOnlyList<BowireManualCallKind>)

public void Deconstruct(out IReadOnlyList<BowireManualCallKind> CallKinds)

Parameters

CallKinds IReadOnlyList<BowireManualCallKind>

Equals(BowireManualEntryForm?)

public bool Equals(BowireManualEntryForm? other)

Parameters

other BowireManualEntryForm

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

ForMethodTypes(params string[])

A form that names only the method types a protocol offers, for a plugin whose calls the workbench already has a form of its own for (REST, gRPC, MQTT, …): the freeform form still needs to know which method types to offer.

public static BowireManualEntryForm ForMethodTypes(params string[] methodTypes)

Parameters

methodTypes string[]

Returns

BowireManualEntryForm

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BowireManualEntryForm?, BowireManualEntryForm?)

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

Parameters

left BowireManualEntryForm
right BowireManualEntryForm

Returns

bool

operator !=(BowireManualEntryForm?, BowireManualEntryForm?)

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

Parameters

left BowireManualEntryForm
right BowireManualEntryForm

Returns

bool