C# Класс NetMud.Authentication.Account

User account
Наследование: IAccount
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Fill IAccount

Открытые методы

Метод Описание
Account ( ) : System

New up a blank account

Account ( string handle ) : System

New up an account with the GlobalIdentityHandle

Account ( string handle, string logSubscriptions ) : System

New up an account with the GlobalIdentityHandle and the log streams it wants to subscribe to

AddCharacter ( ICharacter newChar ) : string

Add a character to this account

GetByHandle ( string handle ) : IAccount

Get an account by its GlobalIdentityHandle

Приватные методы

Метод Описание
Fill ( DataRow dr ) : IAccount

Fill an account from the database

Описание методов

Account() публичный Метод

New up a blank account
public Account ( ) : System
Результат System

Account() публичный Метод

New up an account with the GlobalIdentityHandle
public Account ( string handle ) : System
handle string GlobalIdentityHandle
Результат System

Account() публичный Метод

New up an account with the GlobalIdentityHandle and the log streams it wants to subscribe to
public Account ( string handle, string logSubscriptions ) : System
handle string GlobalIdentityHandle
logSubscriptions string | delimeted list of log channel names
Результат System

AddCharacter() публичный Метод

Add a character to this account
public AddCharacter ( ICharacter newChar ) : string
newChar ICharacter the character data to add
Результат string

GetByHandle() публичный статический Метод

Get an account by its GlobalIdentityHandle
public static GetByHandle ( string handle ) : IAccount
handle string GlobalIdentityHandle to get
Результат IAccount