• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# IContactService类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: StorefrontSecurityController

 public StorefrontSecurityController(ISecurityService securityService, Func<ApplicationSignInManager> signInManagerFactory, INotificationManager notificationManager, IStoreService storeService, IContactService contactService)
 {
     _securityService = securityService;
     _signInManagerFactory = signInManagerFactory;
     _notificationManager = notificationManager;
     _storeService = storeService;
     _contactService = contactService;
 }
开发者ID:afandylamusu,项目名称:vc-community,代码行数:8,代码来源:StoreFrontSecurityController.cs


示例17: ContacListViewModel

 public ContacListViewModel(IContactService service)
 {
     _service = service;
     Contacts = new ObservableCollection<ContactItem>(service.GetThings());
     AddCommand = new Command(Add);
     DeleteCommand = new Command<SelectedItemChangedEventArgs>(Delete);
     OnSelectionCommand = new Command<SelectedItemChangedEventArgs>(OnSelection);
 }
开发者ID:dimgrek,项目名称:ContacListXamarin,代码行数:8,代码来源:ContacListViewModel.cs


示例18: ContactController

 public ContactController(IOrchardServices services, IContactService contactService, 
     IMessageManager messenger, INotifier notifier)
 {
     Services = services;
     _contactService = contactService;
     _messenger = messenger;
     _notifier = notifier;
 }
开发者ID:homastudio,项目名称:SnagIt,代码行数:8,代码来源:ContactController.cs


示例19: LoginService

 public LoginService(IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper, IContactService contactService, IEmailCommunication emailCommunication, IUserService userService)
 {
     _configurationWrapper = configurationWrapper;
     _contactService = contactService;
     _emailCommunication = emailCommunication;
     _userService = userService;
     _authenticationService = authenticationService;
 }
开发者ID:plachmann,项目名称:crds-angular,代码行数:8,代码来源:LoginService.cs


示例20: ContactController

 public ContactController(IContactService iContactService, IUnitOfWork unitOfWork, IUserInfo iUserInfo, ITagService iTagService, ICustomerService iCustomerService)
 {
     _iContactService = iContactService;
     _unitOfWork = unitOfWork;
     _iUserInfo = iUserInfo;
     _iTagService = iTagService;
     _iCustomerService = iCustomerService;
 }
开发者ID:b9502032,项目名称:MySite,代码行数:8,代码来源:ContactController.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IContainer类代码示例发布时间:2022-05-24
下一篇:
C# IContactRepository类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap