C# Class Tp.Integration.Plugin.Common.Domain.AccountCollection

Inheritance: IAccountCollection
显示文件 Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Private Properties

Property Type Description
CreateSnapshot IEnumerable
IEnumerable IEnumerator
OnAccountChanged void

Public Methods

Method Description
AccountCollection ( IAccountRepository accountRepository, IEventAggregator eventAggregator ) : System
GetEnumerator ( ) : IEnumerator
GetOrCreate ( AccountName accountName ) : IAccount
Remove ( AccountName accountName ) : void

Private Methods

Method Description
CreateSnapshot ( ) : IEnumerable
IEnumerable ( ) : IEnumerator
OnAccountChanged ( AccountName accountName ) : void

Method Details

AccountCollection() public method

public AccountCollection ( IAccountRepository accountRepository, IEventAggregator eventAggregator ) : System
accountRepository IAccountRepository
eventAggregator IEventAggregator
return System

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetOrCreate() public method

public GetOrCreate ( AccountName accountName ) : IAccount
accountName Tp.Integration.Messages.AccountName
return IAccount

Remove() public method

public Remove ( AccountName accountName ) : void
accountName Tp.Integration.Messages.AccountName
return void