C# Class Tp.Integration.Plugin.Common.Storage.Repositories.AccountRepository

Inheritance: IAccountRepository
Exibir arquivo Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
AccountRepository ( IProfileRepository profileRepository, IProfileFactory profileFactory, IAccountPersister accountPersister, IEventAggregator eventAggregator ) : System.Collections.Generic
Add ( AccountName accountName ) : AccountDomainObject
GetAll ( ) : IList
GetBy ( AccountName accountName ) : AccountDomainObject
Remove ( AccountName accountName ) : void

Private Methods

Method Description
CreateAccount ( Account account ) : AccountDomainObject
CreateAccount ( AccountName accountName, IEnumerable profiles ) : AccountDomainObject

Method Details

AccountRepository() public method

public AccountRepository ( IProfileRepository profileRepository, IProfileFactory profileFactory, IAccountPersister accountPersister, IEventAggregator eventAggregator ) : System.Collections.Generic
profileRepository IProfileRepository
profileFactory IProfileFactory
accountPersister IAccountPersister
eventAggregator IEventAggregator
return System.Collections.Generic

Add() public method

public Add ( AccountName accountName ) : AccountDomainObject
accountName Tp.Integration.Messages.AccountName
return Tp.Integration.Plugin.Common.Domain.AccountDomainObject

GetAll() public method

public GetAll ( ) : IList
return IList

GetBy() public method

public GetBy ( AccountName accountName ) : AccountDomainObject
accountName Tp.Integration.Messages.AccountName
return Tp.Integration.Plugin.Common.Domain.AccountDomainObject

Remove() public method

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