C# Class UCosmic.Impl.Seeders.InstitutionalAgreementEntitySeeder

Inheritance: UCosmic.Impl.Seeders.BaseDataSeeder
Mostra file Open project: ucosmic/UCosmicPreview

Public Methods

Method Description
InstitutionalAgreementEntitySeeder ( IProcessQueries queryProcessor, ICommandEntities entities, IHandleCommands agreementHandler, IHandleCommands fileHandler, IUnitOfWork unitOfWork ) : System
Seed ( ) : void

Protected Methods

Method Description
Seed ( CreateOrUpdateInstitutionalAgreementCommand command ) : System.Guid

Private Methods

Method Description
CreateLooseFile1 ( ) : System.Guid
GetFile1Content ( ) : string
GetPrincipal ( string domain ) : IPrincipal
PurgeCurrentAgreements ( ) : void

Method Details

InstitutionalAgreementEntitySeeder() public method

public InstitutionalAgreementEntitySeeder ( IProcessQueries queryProcessor, ICommandEntities entities, IHandleCommands agreementHandler, IHandleCommands fileHandler, IUnitOfWork unitOfWork ) : System
queryProcessor IProcessQueries
entities ICommandEntities
agreementHandler IHandleCommands
fileHandler IHandleCommands
unitOfWork IUnitOfWork
return System

Seed() protected method

protected Seed ( CreateOrUpdateInstitutionalAgreementCommand command ) : System.Guid
command CreateOrUpdateInstitutionalAgreementCommand
return System.Guid

Seed() public method

public Seed ( ) : void
return void