Class MockCrudRouteInfo
- Namespace
- Kuestenlogik.Bowire.Mock.State
- Assembly
- Kuestenlogik.Bowire.Mock.dll
A CRUD route as the mock's admin surface shows it (#1100).
public sealed record MockCrudRouteInfo : IEquatable<MockCrudRouteInfo>
- Inheritance
-
MockCrudRouteInfo
- Implements
- Inherited Members
Constructors
MockCrudRouteInfo(string, string, bool)
A CRUD route as the mock's admin surface shows it (#1100).
public MockCrudRouteInfo(string Path, string Bucket, bool Enabled)
Parameters
PathstringThe collection path the route answers on.
BucketstringThe bucket it reads and writes.
EnabledboolFalse while the route is switched off: its requests go on to the recording or schema as if it did not exist.
Properties
Bucket
The bucket it reads and writes.
public string Bucket { get; init; }
Property Value
Enabled
False while the route is switched off: its requests go on to the recording or schema as if it did not exist.
public bool Enabled { get; init; }
Property Value
Path
The collection path the route answers on.
public string Path { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out bool)
public void Deconstruct(out string Path, out string Bucket, out bool Enabled)
Parameters
Equals(MockCrudRouteInfo?)
public bool Equals(MockCrudRouteInfo? other)
Parameters
otherMockCrudRouteInfo
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 ==(MockCrudRouteInfo?, MockCrudRouteInfo?)
public static bool operator ==(MockCrudRouteInfo? left, MockCrudRouteInfo? right)
Parameters
leftMockCrudRouteInforightMockCrudRouteInfo
Returns
operator !=(MockCrudRouteInfo?, MockCrudRouteInfo?)
public static bool operator !=(MockCrudRouteInfo? left, MockCrudRouteInfo? right)
Parameters
leftMockCrudRouteInforightMockCrudRouteInfo