本文整理汇总了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);
}
示例2: ContactController
public ContactController(IContactService contactService, IGroupService groupService, IUserService userService, IAccountService accountService )
{
this.contactService = contactService;
this.groupService = groupService;
this.userService = userService;
this.accountService = accountService;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例8: ContactController
public ContactController(IContactService contactService)
{
if (contactService == null)
throw new ArgumentNullException("contactService");
_contactService = contactService;
}
示例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"
};
}
示例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>();
}
示例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;
}
示例12: AvaTaxRateProvider
public AvaTaxRateProvider(IContactService customerService, ILog log, params SettingEntry[] settings)
: this()
{
Settings = settings;
_logger = new AvalaraLogger(log);
_customerSearchService = customerService;
}
示例13: CpxDisplayContactQueueController
public CpxDisplayContactQueueController(IContactService contactService)
{
if (contactService == null)
{
throw new ArgumentNullException("contactService");
}
_contactService = contactService;
}
示例14: MainViewModel
public MainViewModel(IContactService contactService
, ICreateContacts contactCreator)
{
_contactService = contactService;
_contactCreator = contactCreator;
CreateDesignTimeData();
CreateCommands();
}
示例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;
}