コード例 #1
0
 public HandleSingleGeoPlanetPlaceQuery(ICommandEntities entities
                                        , IContainGeoPlanet geoPlanet
                                        )
 {
     _entities  = entities;
     _geoPlanet = geoPlanet;
 }
コード例 #2
0
 public HandleDeleteDegreeCommand(ICommandEntities entities
                                  , IUnitOfWork unitOfWork
                                  )
 {
     _entities   = entities;
     _unitOfWork = unitOfWork;
 }
コード例 #3
0
 public LoadableFileEntitySeeder(IHandleCommands<CreateLoadableFile> createLoadableFile
                         , ICommandEntities entities
                         , IUnitOfWork unitOfWork
     ) : base(createLoadableFile, unitOfWork)
 {
     _entities = entities;
 }
コード例 #4
0
 public RegionsByGeoServicesEntitySeeder(IProcessQueries queryProcessor
     , ICommandEntities entities
 )
 {
     _queryProcessor = queryProcessor;
     _entities = entities;
 }
コード例 #5
0
 public HandleUpdateEmployeeModuleSettingsCommand(ICommandEntities entities
                                                  , IUnitOfWork unitOfWork
                                                  )
 {
     _entities   = entities;
     _unitOfWork = unitOfWork;
 }
コード例 #6
0
 public DetachFileFromAgreementHandler(ICommandEntities entities
                                       , IStoreBinaryData binaryData
                                       )
 {
     _entities   = entities;
     _binaryData = binaryData;
 }
コード例 #7
0
 public HandleUpdateEmailAddressCommand(ICommandEntities entities
                                        , IUnitOfWork unitOfWork
                                        )
 {
     _entities   = entities;
     _unitOfWork = unitOfWork;
 }
コード例 #8
0
 public UpdateInstitutionalAgreementHierarchiesHandler(ICommandEntities entities
                                                       , IHandleCommands <UpdateInstitutionalAgreementHierarchyCommand> hierarchyHandler
                                                       )
 {
     _entities         = entities;
     _hierarchyHandler = hierarchyHandler;
 }
コード例 #9
0
 public HandleCreatePasswordCommand(ICommandEntities entities
                                    , IStorePasswords passwords
                                    )
 {
     _entities  = entities;
     _passwords = passwords;
 }
コード例 #10
0
 public HandleUpdatePersonCommand(ICommandEntities entities
                                  , IProcessQueries queryProcessor
                                  )
 {
     _entities       = entities;
     _queryProcessor = queryProcessor;
 }
コード例 #11
0
 public HandlePurgeParticipantCommand(ICommandEntities entities
                                      , IUnitOfWork unitOfWork
                                      )
 {
     _entities   = entities;
     _unitOfWork = unitOfWork;
 }
コード例 #12
0
 public RegionsByGeoServicesEntitySeeder(IProcessQueries queryProcessor
                                         , ICommandEntities entities
                                         )
 {
     _queryProcessor = queryProcessor;
     _entities       = entities;
 }
コード例 #13
0
 public HandleUpdateFileCommand(ICommandEntities entities
                                , IUnitOfWork unitOfWork
                                )
 {
     _entities   = entities;
     _unitOfWork = unitOfWork;
 }
コード例 #14
0
 public ResetPasswordHandler(ICommandEntities entities
                             , IStorePasswords passwords
                             )
 {
     _entities  = entities;
     _passwords = passwords;
 }
コード例 #15
0
 protected BaseActivityEntitySeeder(ICommandEntities entities
                                    , IHandleCommands <CreateActivityDocument> createDocument
                                    )
 {
     _entities       = entities;
     _createDocument = createDocument;
 }
コード例 #16
0
ファイル: CreatePlace.cs プロジェクト: danludwig/UCosmicAlpha
 public HandleCreatePlaceCommand(ICommandEntities entities
                                 , IHandleCommands <EnsurePlaceHierarchy> hierarchy
                                 )
 {
     _entities  = entities;
     _hierarchy = hierarchy;
 }
コード例 #17
0
 public HandleCreateAffiliationCommand(ICommandEntities entities
                                       , IProcessQueries queryProcessor
                                       )
 {
     _entities       = entities;
     _queryProcessor = queryProcessor;
 }
コード例 #18
0
 public HandleUpdateAgreementHierarchiesCommand(ICommandEntities entities
                                                , IHandleCommands <UpdateAgreementHierarchy> hierarchyHandler
                                                )
 {
     _entities         = entities;
     _hierarchyHandler = hierarchyHandler;
 }
コード例 #19
0
 public HandleUpdateEstablishmentCommand(ICommandEntities entities
                                         , IHandleCommands <UpdateEstablishmentHierarchyCommand> hierarchy
                                         )
 {
     _entities  = entities;
     _hierarchy = hierarchy;
 }
コード例 #20
0
 public HandleUpdateEstablishmentLocationCommand(ICommandEntities entities
                                                 , ITriggerEvent <EstablishmentChanged> eventTrigger
                                                 )
 {
     _entities     = entities;
     _eventTrigger = eventTrigger;
 }
コード例 #21
0
 public ImageEntitySeeder(IHandleCommands<CreateImage> createImage
                         , IHandleCommands<CreateProxyImageMimeTypeXRef> createProxyImageMimeTypeXRef
                         , ICommandEntities entities
                         , IUnitOfWork unitOfWork
     )
     : base(createImage, createProxyImageMimeTypeXRef, unitOfWork)
 {
     _entities = entities;
 }
コード例 #22
0
ファイル: DegreeSeeder.cs プロジェクト: ucosmic/UCosmicAlpha
 public DegreeEntitySeeder(  ICommandEntities entities
                             , IHandleCommands<CreateDegree> createDegree
                             , IUnitOfWork unitOfWork
 )
 {
     _createDegree = createDegree;
     _unitOfWork = unitOfWork;
     _entities = entities;
 }
コード例 #23
0
 public LanguageExpertiseEntitySeeder(  ICommandEntities entities
                             , IHandleCommands<CreateLanguageExpertise> createLanguageExpertise
                             , IUnitOfWork unitOfWork
 )
 {
     _createLanguageExpertise = createLanguageExpertise;
     _unitOfWork = unitOfWork;
     _entities = entities;
 }
コード例 #24
0
 public UsfEmployeeModuleSettingsSeeder(IProcessQueries queryProcessor
     , ICommandEntities entities
     , IHandleCommands<CreateEmployeeModuleSettings> createEmployeeModuleSettings
     , IUnitOfWork unitOfWork
     )
     : base(queryProcessor, createEmployeeModuleSettings, unitOfWork)
 {
     _entities = entities;
 }
コード例 #25
0
 public HandleMyAgreementSettingsQuery(IProcessQueries queryProcessor
                                       , ICommandEntities entities
                                       , IQueryEntities detachedEntities
                                       )
 {
     _queryProcessor   = queryProcessor;
     _entities         = entities;
     _detachedEntities = detachedEntities;
 }
コード例 #26
0
 public HandleUpdateAgreementCommand(ICommandEntities entities
                                     , IUnitOfWork unitOfWork
                                     , IHandleCommands <UpdateAgreementHierarchy> hierarchyHandler
                                     )
 {
     _entities         = entities;
     _unitOfWork       = unitOfWork;
     _hierarchyHandler = hierarchyHandler;
 }
コード例 #27
0
 public HandleSingleGeoNamesToponymQuery(ICommandEntities entities
                                         , IContainGeoNames geoNames
                                         , IUnitOfWork unitOfWork
                                         )
 {
     _entities   = entities;
     _geoNames   = geoNames;
     _unitOfWork = unitOfWork;
 }
コード例 #28
0
        internal static ICollection<PlaceName> ToEntities(this IEnumerable<GeoNamesAlternateName> geoNamesAlternateNames, ICommandEntities entities)
        {
            if (geoNamesAlternateNames == null) return null;

            var placeNames = new List<PlaceName>();
            geoNamesAlternateNames.ToList().ForEach(n => placeNames.Add(n.ToEntity(entities)));

            return placeNames;
        }
コード例 #29
0
 public UserTenancyConfigurator(ICommandEntities entities
                                , IStoreBinaryData binaryStore
                                , IHandleCommands <UpdateEmployeeModuleSettings> updateEmployeeModuleSettings
                                )
 {
     _entities    = entities;
     _binaryStore = binaryStore;
     _updateEmployeeModuleSettings = updateEmployeeModuleSettings;
 }
コード例 #30
0
 public PlaceByGeoPlanetEntitySeeder(IProcessQueries queryProcessor
     , ICommandEntities entities
     , IContainGeoPlanet geoPlanet
 )
 {
     _queryProcessor = queryProcessor;
     _entities = entities;
     _geoPlanet = geoPlanet;
 }
コード例 #31
0
        //private readonly IProcessEvents _eventProcessor;

        public HandleDeleteGeographicExpertiseCommand(ICommandEntities entities
                                                      , IUnitOfWork unitOfWork
                                                      //, IProcessEvents eventProcessor
                                                      )
        {
            _entities   = entities;
            _unitOfWork = unitOfWork;
            //_eventProcessor = eventProcessor;
        }
コード例 #32
0
 public HandleUpdateEstablishmentCommand(ICommandEntities entities
                                         , IHandleCommands <UpdateEstablishmentHierarchy> updateHierarchy
                                         , ITriggerEvent <EstablishmentChanged> eventTrigger
                                         )
 {
     _entities        = entities;
     _updateHierarchy = updateHierarchy;
     _eventTrigger    = eventTrigger;
 }
コード例 #33
0
 public InstitutionalAgreementSettingsEntitySeeder(ICommandEntities entities
     , IHandleCommands<CreateOrUpdateConfigurationCommand> settingsHandler
     , IUnitOfWork unitOfWork
 )
 {
     _entities = entities;
     _settingsHandler = settingsHandler;
     _unitOfWork = unitOfWork;
 }
コード例 #34
0
 public HandleCreateUploadCommand(ICommandEntities entities
                                  , IStoreBinaryData binaryData
                                  , IUnitOfWork unitOfWork
                                  )
 {
     _entities   = entities;
     _binaryData = binaryData;
     _unitOfWork = unitOfWork;
 }
コード例 #35
0
 public HandleCreateEstablishmentUrlCommand(ICommandEntities entities
                                            , IHandleCommands <UpdateEstablishmentUrl> updateHandler
                                            , ITriggerEvent <EstablishmentChanged> eventTrigger
                                            )
 {
     _entities      = entities;
     _updateHandler = updateHandler;
     _eventTrigger  = eventTrigger;
 }
コード例 #36
0
 public SendCreatePasswordMessageHandler(ICommandEntities entities
                                         , IHandleCommands <SendConfirmEmailMessageCommand> sendHandler
                                         , IUnitOfWork unitOfWork
                                         )
 {
     _entities    = entities;
     _sendHandler = sendHandler;
     _unitOfWork  = unitOfWork;
 }
コード例 #37
0
        //private readonly IProcessEvents _eventProcessor;

        public HandleDeleteAffiliationLocationCommand(ICommandEntities entities
                                                      , IUnitOfWork unitOfWork
                                                      //, IProcessEvents eventProcessor
                                                      )
        {
            _entities   = entities;
            _unitOfWork = unitOfWork;
            //_eventProcessor = eventProcessor;
        }
コード例 #38
0
 public HandleCreateParticipantCommand(ICommandEntities entities
                                       , IProcessQueries queryProcessor
                                       , IUnitOfWork unitOfWork
                                       )
 {
     _entities       = entities;
     _queryProcessor = queryProcessor;
     _unitOfWork     = unitOfWork;
 }
コード例 #39
0
 public PerformMigrateUsfAgreementDataWork(ICommandEntities entities
                                           , ISendMail mailSender
                                           , ILogExceptions exceptionLogger
                                           )
 {
     _entities        = entities;
     _mailSender      = mailSender;
     _exceptionLogger = exceptionLogger;
 }
コード例 #40
0
 public GeographicExpertiseEntitySeeder(  ICommandEntities entities
                             , IHandleCommands<CreateGeographicExpertise> createGeographicExpertise
                             , IHandleCommands<CreateGeographicExpertiseLocation> createGeographicExpertiseLocation
                             , IUnitOfWork unitOfWork
 )
 {
     _createGeographicExpertise = createGeographicExpertise;
     _createGeographicExpertiseLocation = createGeographicExpertiseLocation;
     _unitOfWork = unitOfWork;
     _entities = entities;
 }
コード例 #41
0
        internal static PlaceName ToEntity(this GeoNamesAlternateName geoNamesAlternateName, ICommandEntities entities)
        {
            if (geoNamesAlternateName == null) return null;

            var placeName = Mapper.Map<PlaceName>(geoNamesAlternateName);

            if (!string.IsNullOrWhiteSpace(placeName.TranslationToHint))
            {
                placeName.TranslationToLanguage = entities.Get<Language>().ByIsoCode(placeName.TranslationToHint);
            }

            return placeName;
        }
コード例 #42
0
 public InstitutionalAgreementEntitySeeder(IProcessQueries queryProcessor
     , ICommandEntities entities
     , IHandleCommands<CreateOrUpdateInstitutionalAgreementCommand> agreementHandler
     , IHandleCommands<CreateLooseFileCommand> fileHandler
     , IUnitOfWork unitOfWork
 )
 {
     _queryProcessor = queryProcessor;
     _entities = entities;
     _agreementHandler = agreementHandler;
     _fileHandler = fileHandler;
     _unitOfWork = unitOfWork;
 }
コード例 #43
0
 public AgreementEntitySeeder(IProcessQueries queryProcessor
     , ICommandEntities entities
     , IHandleCommands<CreateAgreement> createAgreementHandler
     , IHandleCommands<CreateContact> createContactHandler
     , IHandleCommands<CreateFile> createFileHandler
     , IUnitOfWork unitOfWork
 )
 {
     _queryProcessor = queryProcessor;
     _entities = entities;
     _createAgreementHandler = createAgreementHandler;
     _createContactHandler = createContactHandler;
     _createFileHandler = createFileHandler;
     _unitOfWork = unitOfWork;
 }
コード例 #44
0
 public ActivityEntitySeeder(IProcessQueries queryProcessor
                             , ICommandEntities entities
                             , IHandleCommands<CreateActivity> createActivity
                             , IHandleCommands<CreateActivityPlace> createActivityPlace
                             , IHandleCommands<CreateActivityValues> createActivityValues
                             , IHandleCommands<CreateActivityTag> createActivityTag
                             , IHandleCommands<CreateActivityType> createActivityType
                             , IHandleCommands<CreateActivityDocument> createActivityDocument
                             , IUnitOfWork unitOfWork
 ) : base(entities, createActivityDocument)
 {
     _createActivity = createActivity;
     _createActivityPlace = createActivityPlace;
     _createActivityValues = createActivityValues;
     _createActivityTag = createActivityTag;
     _createActivityType = createActivityType;
     _unitOfWork = unitOfWork;
     _queryProcessor = queryProcessor;
     _entities = entities;
 }
コード例 #45
0
 public ActivityEntitySeeder(IProcessQueries queryProcessor
                             , ICommandEntities entities
                             , IHandleCommands<CreateMyNewActivity> createActivity
                             , IHandleCommands<CreateActivityLocation> createActivityLocation
                             , IHandleCommands<CreateActivityValues> createActivityValues
                             , IHandleCommands<CreateActivityTag> createActivityTag
                             , IHandleCommands<CreateActivityType> createActivityType
                             , IHandleCommands<CreateActivityDocument> createActivityDocument
                             , IUnitOfWork unitOfWork
 )
 {
     _createActivity = createActivity;
     _createActivityLocation = createActivityLocation;
     _createActivityValues = createActivityValues;
     _createActivityTag = createActivityTag;
     _createActivityType = createActivityType;
     _createActivityDocument = createActivityDocument;
     _unitOfWork = unitOfWork;
     _queryProcessor = queryProcessor;
     _entities = entities;
 }
コード例 #46
0
 protected BaseEmployeeSeeder(IProcessQueries queryProcessor
     , IHandleCommands<CreateEmployee> createEmployee
     , IUnitOfWork unitOfWork
     , ICommandEntities entities
     )
 {
     QueryProcessor = queryProcessor;
     _createEmployee = createEmployee;
     _unitOfWork = unitOfWork;
     Entities = entities;
 }
コード例 #47
0
        //internal static PlaceName ToEntity(this GeoNamesAlternateName geoNamesAlternateName, LanguageFinder languages)
        //{
        //    if (geoNamesAlternateName == null) return null;

        //    var placeName = Mapper.Map<PlaceName>(geoNamesAlternateName);

        //    if (!string.IsNullOrWhiteSpace(placeName.TranslationToHint))
        //    {
        //        placeName.TranslationToLanguage = languages.FindOne(LanguageBy.IsoCode(placeName.TranslationToHint)
        //            .ForInsertOrUpdate());
        //    }

        //    return placeName;
        //}

        internal static PlaceName ToEntity(this GeoNamesAlternateName geoNamesAlternateName, ICommandEntities entities)
        {
            if (geoNamesAlternateName == null) return null;

            var placeName = Mapper.Map<PlaceName>(geoNamesAlternateName);

            if (!string.IsNullOrWhiteSpace(placeName.TranslationToHint))
            {
                //placeName.TranslationToLanguage = queryProcessor.Execute(
                //    new GetLanguageByIsoCodeQuery
                //    {
                //        IsoCode = placeName.TranslationToHint,
                //    }
                //);
                placeName.TranslationToLanguage = entities.Get<Language>().ByIsoCode(placeName.TranslationToHint);
            }

            return placeName;
        }
コード例 #48
0
 public UsfEmployeeSeeder(IProcessQueries queryProcessor
     , IHandleCommands<CreateEmployee> createEmployee
     , IUnitOfWork unitOfWork
     , ICommandEntities entities
     )
     : base(queryProcessor, createEmployee, unitOfWork, entities)
 {
 }
コード例 #49
0
 public AffiliationEntitySeeder(IProcessQueries queryProcessor
     , ICommandEntities entities
     , IHandleCommands<CreateAffiliation> createAffiliation
     , IUnitOfWork unitOfWork
 )
     : base(queryProcessor, createAffiliation, unitOfWork)
 {
     _entities = entities;
 }
コード例 #50
0
 protected BaseActivityEntitySeeder(ICommandEntities entities
     , IHandleCommands<CreateActivityDocument> createDocument
 )
 {
     _entities = entities;
     _createDocument = createDocument;
 }