当前位置: 首页>>代码示例>>C#>>正文


C# IContactService类代码示例

本文整理汇总了C#中IContactService的典型用法代码示例。如果您正苦于以下问题:C# IContactService类的具体用法?C# IContactService怎么用?C# IContactService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IContactService类属于命名空间,在下文中一共展示了IContactService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: StreamConfigurationViewModel

        public StreamConfigurationViewModel(
            IApplicationSettingsProvider applicationSettingsProvider,
            IGlobalExcludeSettings globalExcludeSettings,
            IAccountSettingsProvider accountSettingsProvider,
            IColumnsSettingsProvider columnsSettingsProvider,
            IContactService contactService)
        {
            _applicationSettingsProvider = applicationSettingsProvider;
            _accountSettingsProvider = accountSettingsProvider;
            _globalExcludeSettings = globalExcludeSettings;
            _columnsSettingsProvider = columnsSettingsProvider;
            _contactService = contactService;
            _scriptLibrary = CompositionManager.Get<IScriptingLibrarian>();

            ShowConfiguration = false;

            Filters = new StreamModel {Direction = ListSortDirection.Descending};
            FilterBefore = DateTime.Now.Subtract(new TimeSpan(365, 0, 0, 0, 0));

            ScriptFilters = _scriptLibrary.ScriptFilters;

            EditCommand = new DelegateCommand(SetEdit);
            CancelCommand = new DelegateCommand(CancelChanges);
            SaveCommand = new DelegateCommand(SaveChanges);
        }
开发者ID:nickhodge,项目名称:MahTweets.LawrenceHargrave,代码行数:25,代码来源:StreamConfigurationViewModel.cs

示例2: ContactController

 public ContactController(IContactService contactService, IGroupService groupService, IUserService userService, IAccountService accountService )
 {
     this.contactService = contactService;
     this.groupService = groupService;
     this.userService = userService;
     this.accountService = accountService;
 }
开发者ID:ravindrap52,项目名称:SalesApplication,代码行数:7,代码来源:ContactController.cs

示例3: DispatchController

 public DispatchController(IDispatchAllocationService dispatchAllocationService, IDispatchService dispatchService,
     IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService,
     IDispatchDetailService dispatchDetailService, IUnitService unitService, ICommodityTypeService commodityTypeService,
     IProgramService programService, ITransporterService transporterService, IPeriodService periodService, 
     ICommodityService commodityService, ITransactionService transactionService, IStoreService storeService,
     IAdminUnitService adminUnitService, IHubService hubService, IFDPService fdpService,
     IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService, 
     ISMSGatewayService smsGatewayService, IContactService contactService, ISMSService smsService)
     : base(userProfileService)
 {
     _dispatchAllocationService = dispatchAllocationService;
     _dispatchService = dispatchService;
     _userProfileService = userProfileService;
     _otherDispatchAllocationService = otherDispatchAllocationService;
     _dispatchDetailService = dispatchDetailService;
     _unitService = unitService;
     _commodityTypeService = commodityTypeService;
     _programService = programService;
     _transporterService = transporterService;
     _periodService = periodService;
     _commodityService = commodityService;
     _transactionService = transactionService;
     _storeService = storeService;
     _adminUnitService = adminUnitService;
     _hubService = hubService;
     _fdpService = fdpService;
     _projectCodeService = projectCodeService;
     _shippingInstructionService = shippingInstructionService;
     _smsGatewayService = smsGatewayService;
     _contactService = contactService;
     _smsService = smsService;
 }
开发者ID:robela,项目名称:cats,代码行数:32,代码来源:DispatchController.cs

示例4: LeadController

 public LeadController(
     ILeadService LeadService,
     IContactService contactService,
     IMembershipService membershipService,
     IRoleService roleService,
     INoteService noteService,
     IActivityService activityService,
     ISaleService saleService,
     ITaskService taskService,
     ViewDataHelper viewdataHelper,
     ICampaignService campaignService,
     ITagService tagService)
 {
     _leadService = LeadService;
     _contactService = contactService;
     _membershipService = membershipService;
     _roleService = roleService;
     _noteService = noteService;
     _activityService = activityService;
     _saleService = saleService;
     _taskService = taskService;
     _viewdataHelper = viewdataHelper;
     _campaignService = campaignService;
     _tagService = tagService;
 }
开发者ID:deboe2015,项目名称:crumb-crm,代码行数:25,代码来源:LeadController.cs

示例5: TripService

 public TripService(IEventParticipantService eventParticipant,
                    IDonationService donationService,
                    IGroupService groupService,
                    IFormSubmissionService formSubmissionService,
                    MinistryPlatform.Translation.Services.Interfaces.IEventService eventService,
                    IDonorService donorService,
                    IPledgeService pledgeService,
                    ICampaignService campaignService,
                    IPrivateInviteService privateInviteService,
                    ICommunicationService communicationService,
                    IContactService contactService,
                    IContactRelationshipService contactRelationshipService,
                    IConfigurationWrapper configurationWrapper,
                    IPersonService personService,
                    IServeService serveService,
                    IDestinationService destinationService)
 {
     _eventParticipantService = eventParticipant;
     _donationService = donationService;
     _groupService = groupService;
     _formSubmissionService = formSubmissionService;
     _mpEventService = eventService;
     _mpDonorService = donorService;
     _mpPledgeService = pledgeService;
     _campaignService = campaignService;
     _privateInviteService = privateInviteService;
     _communicationService = communicationService;
     _contactService = contactService;
     _contactRelationshipService = contactRelationshipService;
     _configurationWrapper = configurationWrapper;
     _personService = personService;
     _serveService = serveService;
     _destinationService = destinationService;
 }
开发者ID:plachmann,项目名称:crds-angular,代码行数:34,代码来源:TripService.cs

示例6: ServeService

 public ServeService(IContactService contactService,
                     IContactRelationshipService contactRelationshipService,
                     IOpportunityService opportunityService,
                     MinistryPlatform.Translation.Services.Interfaces.IEventService eventService,
                     IParticipantService participantService,
                     IGroupParticipantService groupParticipantService,
                     IGroupService groupService,
                     ICommunicationService communicationService,
                     IAuthenticationService authenticationService,
                     IConfigurationWrapper configurationWrapper,
                     IApiUserService apiUserService,
                     IResponseService responseService)
 {
     _contactService = contactService;
     _contactRelationshipService = contactRelationshipService;
     _opportunityService = opportunityService;
     _eventService = eventService;
     _participantService = participantService;
     _groupParticipantService = groupParticipantService;
     _groupService = groupService;
     _communicationService = communicationService;
     _authenticationService = authenticationService;
     _configurationWrapper = configurationWrapper;
     _apiUserService = apiUserService;
     _responseService = responseService;
 }
开发者ID:plachmann,项目名称:crds-angular,代码行数:26,代码来源:ServeService.cs

示例7: AgentController

        public AgentController(IMemberService memberService, IAgentService agentService, IContactService contactService, IMedallionService medallionService,
            IVehicleService vehicleService, IMeterManufacturerService meterManufacturerService, IStockholderService stockholderService, IAgentVehicleService agentVehicleService, IStandardDuesService standardDueService,
            IVehicleMakeService vehicleMakeService, IModelYearInsuranceService modelYearInsuranceService, IVehicleModelService vehicleModelService,
            IInsuranceDepositAgentService insuranceDepositService, IAutoLoanSetupAgentService autoLoanSetupService, IAccountReceivableAgentService accountReceivableService,
            ISavingDepositAgentService savingDepositService)
        {
            this.memberService = memberService;
            this.agentService = agentService;
            this.agentVehicleService = agentVehicleService;
            this.contactService = contactService;
            this.stockholderService = stockholderService;
            this.meterManufacturerService = meterManufacturerService;
            this.medallionService = medallionService;
            this.vehicleService = vehicleService;
            this.standardDueService = standardDueService;

            this._vehicleMakeService = vehicleMakeService;
            this._modelYearInsuranceService = modelYearInsuranceService;
            this._vehicleModelService = vehicleModelService;

            this.insuranceDepositService = insuranceDepositService;
            this.accountReceivableService = accountReceivableService;
            this.autoLoanSetupService = autoLoanSetupService;
            this.savingDepositService = savingDepositService;
        }
开发者ID:TDevs,项目名称:2014_TBS,代码行数:25,代码来源:AgentController.cs

示例8: ContactController

        public ContactController(IContactService contactService)
        {
            if (contactService == null)
                throw new ArgumentNullException("contactService");

            _contactService = contactService;
        }
开发者ID:michsob,项目名称:Xrm,代码行数:7,代码来源:ContactController.cs

示例9: DonorService

        public DonorService(IMinistryPlatformService ministryPlatformService, IProgramService programService, ICommunicationService communicationService, IAuthenticationService authenticationService, IContactService contactService,  IConfigurationWrapper configuration, ICryptoProvider crypto)
            : base(authenticationService, configuration)
        {
            _ministryPlatformService = ministryPlatformService;
            _programService = programService;
            _communicationService = communicationService;
            _contactService = contactService;
            _crypto = crypto;

            _donorPageId = configuration.GetConfigIntValue("Donors");
            _donationPageId = configuration.GetConfigIntValue("Donations");
            _donationDistributionPageId = configuration.GetConfigIntValue("Distributions");
            _donorAccountsPageId = configuration.GetConfigIntValue("DonorAccounts");
            _findDonorByAccountPageViewId = configuration.GetConfigIntValue("FindDonorByAccountPageView");
            _donationStatusesPageId = configuration.GetConfigIntValue("DonationStatus");
            _donorLookupByEncryptedAccount = configuration.GetConfigIntValue("DonorLookupByEncryptedAccount");
            _myHouseholdDonationDistributions = configuration.GetConfigIntValue("MyHouseholdDonationDistributions");
            _recurringGiftBySubscription = configuration.GetConfigIntValue("RecurringGiftBySubscription");
            _recurringGiftPageId = configuration.GetConfigIntValue("RecurringGifts");
            _myDonorPageId = configuration.GetConfigIntValue("MyDonor");
            _myHouseholdDonationRecurringGifts = configuration.GetConfigIntValue("MyHouseholdDonationRecurringGifts");
            _myHouseholdRecurringGiftsApiPageView = configuration.GetConfigIntValue("MyHouseholdRecurringGiftsApiPageView");
            _myHouseholdPledges = configuration.GetConfigIntValue("MyHouseholdPledges");

            _dateTimeFormat = new DateTimeFormatInfo
            {
                AMDesignator = "am",
                PMDesignator = "pm"
            };

        }
开发者ID:plachmann,项目名称:crds-angular,代码行数:31,代码来源:DonorService.cs

示例10: TestFixtureSetUp

        public void TestFixtureSetUp()
        {
            try
            {
                CodeSharp.Core.Configuration.ConfigWithEmbeddedXml(null
                    , "application_config"
                    , Assembly.GetExecutingAssembly()
                    , "Cooper.Model.Test.ConfigFiles")
                    .RenderProperties()
                    .Castle(o => this.Resolve(o.Container));

                //初始化同步锁
                DependencyResolver.Resolve<ILockHelper>().Init<Account>();
                DependencyResolver.Resolve<ILockHelper>().Init<GoogleConnection>();
                DependencyResolver.Resolve<ILockHelper>().Init<GitHubConnection>();
            }
            catch (Exception e)
            {
                if (!e.Message.Contains("不可重复初始化配置"))
                    Console.WriteLine(e.Message);
            }

            this._log = DependencyResolver.Resolve<ILoggerFactory>().Create(this.GetType());
            this._sessionManager = DependencyResolver.Resolve<Castle.Facilities.NHibernateIntegration.ISessionManager>();

            this._accountHelper = DependencyResolver.Resolve<IAccountHelper>();
            this._accountService = DependencyResolver.Resolve<IAccountService>();
            this._accountConnectionService = DependencyResolver.Resolve<IAccountConnectionService>();
            this._taskService = DependencyResolver.Resolve<ITaskService>();
            this._tasklistService = DependencyResolver.Resolve<ITasklistService>();
            this._addressBookService = DependencyResolver.Resolve<IAddressBookService>();
            this._contactGroupService = DependencyResolver.Resolve<IContactGroupService>();
            this._contactService = DependencyResolver.Resolve<IContactService>();
        }
开发者ID:sunleepy,项目名称:cooper,代码行数:34,代码来源:TestBase.cs

示例11: EcommerceService

        public EcommerceService(IOrderCoordinator orderCoordinator, IProductRepository productRepository,
            IVoucherRepository voucherRepository, IContactService contactService,
            IBespokePricingHandlerFactory bespokePricingHandlerFactory)
        {
            if (orderCoordinator == null)
            {
                throw new ArgumentNullException("orderCoordinator");
            }
            _orderCoordinator = orderCoordinator;
            if (productRepository == null)
            {
                throw new ArgumentNullException("productRepository");
            }
            _productRepository = productRepository;
            if (voucherRepository == null)
            {
                throw new ArgumentNullException("voucherRepository");
            }
            _voucherRepository = voucherRepository;
            if (contactService == null) throw new ArgumentNullException("contactService");
            _contactService = contactService;

            if (bespokePricingHandlerFactory == null)
            {
                throw new ArgumentNullException("bespokePricingHandlerFactory");
            }
            _bespokePricingHandlerFactory = bespokePricingHandlerFactory;
        }
开发者ID:jamesdrever,项目名称:cpx,代码行数:28,代码来源:ECommerceService.cs

示例12: AvaTaxRateProvider

 public AvaTaxRateProvider(IContactService customerService, ILog log, params SettingEntry[] settings)
     : this()
 {
     Settings = settings;
     _logger = new AvalaraLogger(log);
     _customerSearchService = customerService;
 }
开发者ID:afandylamusu,项目名称:vc-community,代码行数:7,代码来源:AvaTaxRateProvider.cs

示例13: CpxDisplayContactQueueController

 public CpxDisplayContactQueueController(IContactService contactService)
 {
     if (contactService == null)
     {
         throw new ArgumentNullException("contactService");
     }
     _contactService = contactService;
 }
开发者ID:jamesdrever,项目名称:cpx,代码行数:8,代码来源:CpxDisplayContactQueueController.cs

示例14: MainViewModel

 public MainViewModel(IContactService contactService
     , ICreateContacts contactCreator)
 {
     _contactService = contactService;
     _contactCreator = contactCreator;
     CreateDesignTimeData();
     CreateCommands();
 }
开发者ID:dotnetcurry,项目名称:windows8-mvvm-light-dncmag-04,代码行数:8,代码来源:MainViewModel.cs

示例15: PurchaseOrderController

 public PurchaseOrderController(IPurchaseOrderService purchaseOrderService,IVendorService vendorService, IContactService contactService,IUserService userService, IGroupService groupService)
 {
     this.purchaseOrderService = purchaseOrderService;
     this.vendorService = vendorService;
     this.contactService = contactService;
     this.groupService = groupService;
     this.userService = userService;
 }
开发者ID:ravindrap52,项目名称:SalesApplication,代码行数:8,代码来源:PurchaseOrderController.cs


注:本文中的IContactService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。