Docs · API reference · Motus.Abstractions

OriginStorage Class#

Represents local storage entries for a specific origin.

public sealed record OriginStorage : System.IEquatable<Motus.Abstractions.OriginStorage>

Inheritance System.Object → OriginStorage

Implements System.IEquatable<OriginStorage>

Constructors#

OriginStorage(string, IReadOnlyList<KeyValuePair<string,string>>) Constructor#

Represents local storage entries for a specific origin.

public OriginStorage(string Origin, System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string,string>> LocalStorage);

Parameters#

Origin System.String

The origin URL.

LocalStorage System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<System.String,System.String>>

The local storage key-value entries for this origin.

Properties#

LocalStorage Property#

The local storage key-value entries for this origin.

public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string,string>> LocalStorage { get; init; }

Property Value#

System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<System.String,System.String>>

Origin Property#

The origin URL.

public string Origin { get; init; }

Property Value#

System.String