C# Класс Tp.Integration.Plugin.Common.Storage.Repositories.ProfileRepository

Наследование: IProfileRepository, IProfileFactory
Показать файл Открыть проект

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

Метод Описание
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

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

Метод Описание
SaveSettings ( object settings, Profile profileCreated ) : void

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

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

public Add ( ProfileCreationArgs profileCreationArgs, AccountName accountName ) : ProfileDomainObject
profileCreationArgs Tp.Integration.Plugin.Common.Domain.ProfileCreationArgs
accountName Tp.Integration.Messages.AccountName
Результат Tp.Integration.Plugin.Common.Domain.ProfileDomainObject

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

public Create ( Profile profile, AccountName accountName ) : ProfileDomainObject
profile Tp.Integration.Plugin.Common.Storage.Persisters.Profile
accountName Tp.Integration.Messages.AccountName
Результат Tp.Integration.Plugin.Common.Domain.ProfileDomainObject

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

public Delete ( ProfileName profileName, AccountName accountName ) : void
profileName Tp.Integration.Messages.ProfileName
accountName Tp.Integration.Messages.AccountName
Результат void

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

public GetAll ( AccountName accountName ) : IEnumerable
accountName Tp.Integration.Messages.AccountName
Результат IEnumerable

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

public ProfileRepository ( IProfilePersister profilePersister, IProfileStoragePersister profileStoragePersister, IPluginMetadata pluginMetadata, IEventAggregator eventAggregator ) : System.Collections.Generic
profilePersister IProfilePersister
profileStoragePersister IProfileStoragePersister
pluginMetadata IPluginMetadata
eventAggregator IEventAggregator
Результат System.Collections.Generic

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

public Update ( ProfileDomainObject profile, AccountName accountName ) : void
profile Tp.Integration.Plugin.Common.Domain.ProfileDomainObject
accountName Tp.Integration.Messages.AccountName
Результат void