Class BowireTopologyAction

Namespace
Kuestenlogik.Bowire.Topology
Assembly
Kuestenlogik.Bowire.dll

A call the workbench offers for a node: it opens the method with the request filled in, and the user runs it.

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

Constructors

BowireTopologyAction(string, string, string, string?, string?)

A call the workbench offers for a node: it opens the method with the request filled in, and the user runs it.

public BowireTopologyAction(string Label, string Service, string Method, string? Protocol = null, string? Body = null)

Parameters

Label string

The button's text.

Service string

The service, as discovery lists it.

Method string

The method.

Protocol string

The plugin id, where two plugins list a service of that name.

Body string

The request, as JSON text.

Properties

Body

The request, as JSON text.

public string? Body { get; init; }

Property Value

string

Label

The button's text.

public string Label { get; init; }

Property Value

string

Method

The method.

public string Method { get; init; }

Property Value

string

Protocol

The plugin id, where two plugins list a service of that name.

public string? Protocol { get; init; }

Property Value

string

Service

The service, as discovery lists it.

public string Service { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out string, out string?, out string?)

public void Deconstruct(out string Label, out string Service, out string Method, out string? Protocol, out string? Body)

Parameters

Label string
Service string
Method string
Protocol string
Body string

Equals(BowireTopologyAction?)

public bool Equals(BowireTopologyAction? other)

Parameters

other BowireTopologyAction

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

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

Parameters

left BowireTopologyAction
right BowireTopologyAction

Returns

bool

operator !=(BowireTopologyAction?, BowireTopologyAction?)

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

Parameters

left BowireTopologyAction
right BowireTopologyAction

Returns

bool