Table of Contents

Interface ISessionStorage

Namespace: XboxAuthNet.Game.SessionStorages
Assembly: XboxAuthNet.Game.dll

public interface ISessionStorage

Extension Methods

Extensions.GetKeysForStoring(ISessionStorage)

Properties

Keys

IEnumerable<string> Keys { get; }

Property Value

IEnumerable<string>

Methods

ContainsKey(string)

bool ContainsKey(string key)

Parameters

key string

Returns

bool

ContainsKey<T>(string)

bool ContainsKey<T>(string key)

Parameters

key string

Returns

bool

Type Parameters

T

Get<T>(string)

T Get<T>(string key)

Parameters

key string

Returns

T

Type Parameters

T

GetKeyMode(string)

SessionStorageKeyMode GetKeyMode(string key)

Parameters

key string

Returns

SessionStorageKeyMode

GetOrDefault<T>(string, T)

T GetOrDefault<T>(string key, T defaultValue)

Parameters

key string

defaultValue T

Returns

T

Type Parameters

T

Remove(string)

bool Remove(string key)

Parameters

key string

Returns

bool

Set<T>(string, T)

void Set<T>(string key, T obj)

Parameters

key string

obj T

Type Parameters

T

SetKeyMode(string, SessionStorageKeyMode)

void SetKeyMode(string key, SessionStorageKeyMode mode)

Parameters

key string

mode SessionStorageKeyMode

TryGetValue<T>(string, out T)

bool TryGetValue<T>(string key, out T value)

Parameters

key string

value T

Returns

bool

Type Parameters

T