Table of Contents

Class XboxGameAccountCollection

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

public class XboxGameAccountCollection : IReadOnlyCollection<IXboxGameAccount>, IEnumerable<IXboxGameAccount>, IEnumerable

Inheritance

objectXboxGameAccountCollection

Implements

IReadOnlyCollection<IXboxGameAccount>, IEnumerable<IXboxGameAccount>, IEnumerable

Inherited Members

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

Properties

Count

public int Count { get; }

Property Value

int

Methods

Contains(IXboxGameAccount)

public bool Contains(IXboxGameAccount toFind)

Parameters

toFind IXboxGameAccount

Returns

bool

CopyTo(IXboxGameAccount[], int)

public void CopyTo(IXboxGameAccount[] array, int startIndex)

Parameters

array IXboxGameAccount[]

startIndex int

FromAccounts(IEnumerable<IXboxGameAccount>)

public static XboxGameAccountCollection FromAccounts(IEnumerable<IXboxGameAccount> accounts)

Parameters

accounts IEnumerable<IXboxGameAccount>

Returns

XboxGameAccountCollection

GetAccount(string)

public IXboxGameAccount GetAccount(string identifier)

Parameters

identifier string

Returns

IXboxGameAccount

GetEnumerator()

public IEnumerator<IXboxGameAccount> GetEnumerator()

Returns

IEnumerator<IXboxGameAccount>

TryGetAccount(string, out IXboxGameAccount?)

public bool TryGetAccount(string identifier, out IXboxGameAccount? account)

Parameters

identifier string

account IXboxGameAccount?

Returns

bool