C# Class Tigwi.Storage.Library.AccountStorageTmp

Inheritance: IAccountStorage
Mostrar archivo Open project: ismaelbelghiti/Tigwi Class Usage Examples

Public Methods

Method Description
AccountStorageTmp ( StorageTmp storage ) : System
Add ( System.Guid accountId, System.Guid userId ) : void
Autocompletion ( string nameBegining, int maxNameNumber ) : HashSet
Create ( System.Guid adminId, string name, string description, bool bypassNameReservation = false ) : System.Guid
Delete ( System.Guid accountId ) : void
GetAccounts ( System.Guid userId ) : HashSet
GetAdminId ( System.Guid accountId ) : System.Guid
GetId ( string name ) : System.Guid
GetInfo ( System.Guid accountId ) : IAccountInfo
GetUsers ( System.Guid accountId ) : HashSet
Remove ( System.Guid userId, System.Guid accountId ) : void
ReserveAccountName ( string accountName ) : bool
SetAdminId ( System.Guid accountId, System.Guid userId ) : void
SetInfo ( System.Guid Id, string description ) : void
afficheDebug ( ) : void

Private Methods

Method Description
GetFullInfo ( System.Guid accountId ) : FullAccountInfo

Method Details

AccountStorageTmp() public method

public AccountStorageTmp ( StorageTmp storage ) : System
storage StorageTmp
return System

Add() public method

public Add ( System.Guid accountId, System.Guid userId ) : void
accountId System.Guid
userId System.Guid
return void

Autocompletion() public method

public Autocompletion ( string nameBegining, int maxNameNumber ) : HashSet
nameBegining string
maxNameNumber int
return HashSet

Create() public method

public Create ( System.Guid adminId, string name, string description, bool bypassNameReservation = false ) : System.Guid
adminId System.Guid
name string
description string
bypassNameReservation bool
return System.Guid

Delete() public method

public Delete ( System.Guid accountId ) : void
accountId System.Guid
return void

GetAccounts() public method

public GetAccounts ( System.Guid userId ) : HashSet
userId System.Guid
return HashSet

GetAdminId() public method

public GetAdminId ( System.Guid accountId ) : System.Guid
accountId System.Guid
return System.Guid

GetId() public method

public GetId ( string name ) : System.Guid
name string
return System.Guid

GetInfo() public method

public GetInfo ( System.Guid accountId ) : IAccountInfo
accountId System.Guid
return IAccountInfo

GetUsers() public method

public GetUsers ( System.Guid accountId ) : HashSet
accountId System.Guid
return HashSet

Remove() public method

public Remove ( System.Guid userId, System.Guid accountId ) : void
userId System.Guid
accountId System.Guid
return void

ReserveAccountName() public method

public ReserveAccountName ( string accountName ) : bool
accountName string
return bool

SetAdminId() public method

public SetAdminId ( System.Guid accountId, System.Guid userId ) : void
accountId System.Guid
userId System.Guid
return void

SetInfo() public method

public SetInfo ( System.Guid Id, string description ) : void
Id System.Guid
description string
return void

afficheDebug() public method

public afficheDebug ( ) : void
return void