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

RootKey string
Path string

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

string

RootKey

public string RootKey { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string)

public void Deconstruct(out string RootKey, out string Path)

Parameters

RootKey string
Path string

Equals(AdapterFileAddress?)

public bool Equals(AdapterFileAddress? other)

Parameters

other AdapterFileAddress

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

Validate()

public void Validate()

Operators

operator ==(AdapterFileAddress?, AdapterFileAddress?)

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

Parameters

left AdapterFileAddress
right AdapterFileAddress

Returns

bool

operator !=(AdapterFileAddress?, AdapterFileAddress?)

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

Parameters

left AdapterFileAddress
right AdapterFileAddress

Returns

bool