Class AdapterFileAddress
- Namespace
- MirrorPulse.Adapter.Sdk
- Assembly
- MirrorPulse.Adapter.Sdk.dll
A source address is always scoped to one configured root.
public sealed record AdapterFileAddress : IEquatable<AdapterFileAddress>
- Inheritance
-
AdapterFileAddress
- Implements
- Inherited Members
Remarks
Paths use forward slashes. An empty path addresses the root itself. Apply backend-specific path and root checks before accessing storage.
Constructors
AdapterFileAddress(string, string)
A source address is always scoped to one configured root.
public AdapterFileAddress(string RootKey, string Path)
Parameters
Remarks
Paths use forward slashes. An empty path addresses the root itself. Apply backend-specific path and root checks before accessing storage.
Properties
Path
public string Path { get; init; }
Property Value
RootKey
public string RootKey { get; init; }
Property Value
Methods
Deconstruct(out string, out string)
public void Deconstruct(out string RootKey, out string Path)
Parameters
Equals(AdapterFileAddress?)
public bool Equals(AdapterFileAddress? other)
Parameters
otherAdapterFileAddress
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Validate()
public void Validate()
Operators
operator ==(AdapterFileAddress?, AdapterFileAddress?)
public static bool operator ==(AdapterFileAddress? left, AdapterFileAddress? right)
Parameters
leftAdapterFileAddressrightAdapterFileAddress
Returns
operator !=(AdapterFileAddress?, AdapterFileAddress?)
public static bool operator !=(AdapterFileAddress? left, AdapterFileAddress? right)
Parameters
leftAdapterFileAddressrightAdapterFileAddress