コード例 #1
0
 public GoVolunteerService(MPInterfaces.IParticipantRepository participantService,
                           IRegistrationRepository registrationService,
                           MPInterfaces.IContactRepository contactService,
                           IGroupConnectorRepository groupConnectorService,
                           IConfigurationWrapper configurationWrapper,
                           MPInterfaces.IContactRelationshipRepository contactRelationshipService,
                           MPInterfaces.IProjectTypeRepository projectTypeService,
                           IAttributeService attributeService,
                           IGoSkillsService skillsService,
                           MPInterfaces.ICommunicationRepository comunicationService,
                           MPInterfaces.IUserRepository userService)
 {
     _participantService         = participantService;
     _registrationService        = registrationService;
     _contactService             = contactService;
     _groupConnectorService      = groupConnectorService;
     _configurationWrapper       = configurationWrapper;
     _contactRelationshipService = contactRelationshipService;
     _projectTypeService         = projectTypeService;
     _attributeService           = attributeService;
     _otherEquipmentId           = _configurationWrapper.GetConfigIntValue("GoCincinnatiOtherEquipmentAttributeId");
     _skillsService        = skillsService;
     _communicationService = comunicationService;
     _userService          = userService;
 }
コード例 #2
0
        public GoVolunteerController(IOrganizationService organizationService,
                                     IGroupConnectorService groupConnectorService,
                                     IGatewayLookupService gatewayLookupService,
                                     IGoSkillsService skillsService,
                                     IGoVolunteerService goVolunteerService,
                                     IAttributeService attributeService,
                                     IConfigurationWrapper configurationWrapper,
                                     IUserImpersonationService userImpersonationService) : base(userImpersonationService)

        {
            _organizationService   = organizationService;
            _gatewayLookupService  = gatewayLookupService;
            _goVolunteerService    = goVolunteerService;
            _groupConnectorService = groupConnectorService;
            _skillsService         = skillsService;
            _attributeService      = attributeService;
            _configurationWrapper  = configurationWrapper;
        }