Table of Contents

Class InMemoryXboxGameAccountManager

Namespace: XboxAuthNet.Game.Accounts
Assembly: XboxAuthNet.Game.dll

public class InMemoryXboxGameAccountManager : IXboxGameAccountManager

Inheritance

objectInMemoryXboxGameAccountManager

Implements

IXboxGameAccountManager

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

InMemoryXboxGameAccountManager(Func<ISessionStorage, IXboxGameAccount>)

public InMemoryXboxGameAccountManager(Func<ISessionStorage, IXboxGameAccount> converter)

Parameters

converter Func<ISessionStorage, IXboxGameAccount>

Properties

Accounts

public List<IXboxGameAccount> Accounts { get; }

Property Value

List<IXboxGameAccount>

Methods

ClearAccounts()

public void ClearAccounts()

GetAccounts()

public XboxGameAccountCollection GetAccounts()

Returns

XboxGameAccountCollection

GetDefaultAccount()

public IXboxGameAccount GetDefaultAccount()

Returns

IXboxGameAccount

LoadAccounts()

public void LoadAccounts()

NewAccount()

public IXboxGameAccount NewAccount()

Returns

IXboxGameAccount

SaveAccounts()

public void SaveAccounts()