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

Inheritance: IProfileRepository, IProfileFactory
ファイルを表示 Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
Add ( ProfileCreationArgs profileCreationArgs, AccountName accountName ) : ProfileDomainObject
Create ( Profile profile, AccountName accountName ) : ProfileDomainObject
Delete ( ProfileName profileName, AccountName accountName ) : void
GetAll ( AccountName accountName ) : IEnumerable
ProfileRepository ( IProfilePersister profilePersister, IProfileStoragePersister profileStoragePersister, IPluginMetadata pluginMetadata, IEventAggregator eventAggregator ) : System.Collections.Generic
Update ( ProfileDomainObject profile, AccountName accountName ) : void

Private Methods

Method Description
SaveSettings ( object settings, Profile profileCreated ) : void

Method Details

Add() public method

public Add ( ProfileCreationArgs profileCreationArgs, AccountName accountName ) : ProfileDomainObject
profileCreationArgs Tp.Integration.Plugin.Common.Domain.ProfileCreationArgs
accountName Tp.Integration.Messages.AccountName
return Tp.Integration.Plugin.Common.Domain.ProfileDomainObject

Create() public method

public Create ( Profile profile, AccountName accountName ) : ProfileDomainObject
profile Tp.Integration.Plugin.Common.Storage.Persisters.Profile
accountName Tp.Integration.Messages.AccountName
return Tp.Integration.Plugin.Common.Domain.ProfileDomainObject

Delete() public method

public Delete ( ProfileName profileName, AccountName accountName ) : void
profileName Tp.Integration.Messages.ProfileName
accountName Tp.Integration.Messages.AccountName
return void

GetAll() public method

public GetAll ( AccountName accountName ) : IEnumerable
accountName Tp.Integration.Messages.AccountName
return IEnumerable

ProfileRepository() public method

public ProfileRepository ( IProfilePersister profilePersister, IProfileStoragePersister profileStoragePersister, IPluginMetadata pluginMetadata, IEventAggregator eventAggregator ) : System.Collections.Generic
profilePersister IProfilePersister
profileStoragePersister IProfileStoragePersister
pluginMetadata IPluginMetadata
eventAggregator IEventAggregator
return System.Collections.Generic

Update() public method

public Update ( ProfileDomainObject profile, AccountName accountName ) : void
profile Tp.Integration.Plugin.Common.Domain.ProfileDomainObject
accountName Tp.Integration.Messages.AccountName
return void