Class BowireManualField
- Namespace
- Kuestenlogik.Bowire
- Assembly
- Kuestenlogik.Bowire.dll
One field of a hand-entry form.
public sealed record BowireManualField : IEquatable<BowireManualField>
- Inheritance
-
BowireManualField
- Implements
- Inherited Members
Constructors
BowireManualField(string, string, BowireManualFieldPlacement)
One field of a hand-entry form.
public BowireManualField(string Key, string Label, BowireManualFieldPlacement Placement)
Parameters
KeystringThe template placeholder or metadata key, e.g.
topicorsoap_action.LabelstringWhat the form shows.
PlacementBowireManualFieldPlacementWhere the value goes.
Properties
CallKinds
The ids of the call kinds the field belongs to; empty means every
call kind. Kafka's key belongs to produce, not to consume.
public IReadOnlyList<string> CallKinds { get; init; }
Property Value
DefaultValue
The value the field starts with.
public string? DefaultValue { get; init; }
Property Value
Description
Help text below the field.
public string? Description { get; init; }
Property Value
Key
The template placeholder or metadata key, e.g. topic or soap_action.
public string Key { get; init; }
Property Value
Label
What the form shows.
public string Label { get; init; }
Property Value
Options
The choices of a select field.
public IReadOnlyList<BowireManualFieldOption> Options { get; init; }
Property Value
Placeholder
An example value shown in the empty field.
public string? Placeholder { get; init; }
Property Value
Placement
Where the value goes.
public BowireManualFieldPlacement Placement { get; init; }
Property Value
Required
Whether the call cannot be made without a value.
public bool Required { get; init; }
Property Value
Type
string (default), number, bool or select.
public string Type { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out BowireManualFieldPlacement)
public void Deconstruct(out string Key, out string Label, out BowireManualFieldPlacement Placement)
Parameters
KeystringLabelstringPlacementBowireManualFieldPlacement
Equals(BowireManualField?)
public bool Equals(BowireManualField? other)
Parameters
otherBowireManualField
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BowireManualField?, BowireManualField?)
public static bool operator ==(BowireManualField? left, BowireManualField? right)
Parameters
leftBowireManualFieldrightBowireManualField
Returns
operator !=(BowireManualField?, BowireManualField?)
public static bool operator !=(BowireManualField? left, BowireManualField? right)
Parameters
leftBowireManualFieldrightBowireManualField