Struct BowireWorkspaceScope
- Namespace
- Kuestenlogik.Bowire.Endpoints
- Assembly
- Kuestenlogik.Bowire.dll
A validated workspace scope, or the reason it was refused.
public readonly struct BowireWorkspaceScope : IEquatable<BowireWorkspaceScope>
- Implements
- Inherited Members
Constructors
BowireWorkspaceScope(string?, string?, string?)
A validated workspace scope, or the reason it was refused.
public BowireWorkspaceScope(string? WorkspaceId, string? StorageRoot, string? Error)
Parameters
WorkspaceIdstringNull when the caller named none.
StorageRootstringNull when the caller named none.
ErrorstringNull when the scope is usable.
Properties
Error
Null when the scope is usable.
public string? Error { get; init; }
Property Value
IsInvalid
True when the request named something this server will not act on.
public bool IsInvalid { get; }
Property Value
StorageRoot
Null when the caller named none.
public string? StorageRoot { get; init; }
Property Value
WorkspaceId
Null when the caller named none.
public string? WorkspaceId { get; init; }
Property Value
Methods
Deconstruct(out string?, out string?, out string?)
public void Deconstruct(out string? WorkspaceId, out string? StorageRoot, out string? Error)
Parameters
Equals(BowireWorkspaceScope)
public bool Equals(BowireWorkspaceScope other)
Parameters
otherBowireWorkspaceScope
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 ==(BowireWorkspaceScope, BowireWorkspaceScope)
public static bool operator ==(BowireWorkspaceScope left, BowireWorkspaceScope right)
Parameters
leftBowireWorkspaceScoperightBowireWorkspaceScope
Returns
operator !=(BowireWorkspaceScope, BowireWorkspaceScope)
public static bool operator !=(BowireWorkspaceScope left, BowireWorkspaceScope right)
Parameters
leftBowireWorkspaceScoperightBowireWorkspaceScope