本文整理汇总了C#中IMailService类的典型用法代码示例。如果您正苦于以下问题:C# IMailService类的具体用法?C# IMailService怎么用?C# IMailService使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IMailService类属于命名空间,在下文中一共展示了IMailService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ManageCourseController
public ManageCourseController(ICourseService courseService, IEntityRepository entityRepository, IEmailGenerationService emailGenerationService, IMailService mailService)
{
_courseService = courseService;
_entityRepository = entityRepository;
_emailGenerationService = emailGenerationService;
_mailService = mailService;
}
示例2: AdminController
public AdminController(IDataService dataService, AuthorizationRoot authorizationRoot, IMailService mailService, ISocialService socialService)
: base(dataService, authorizationRoot)
{
_dataService = dataService;
_mailService = mailService;
_socialService = socialService;
}
示例3: SendPaymentNotification
public SendPaymentNotification(
IClientsService clientsService,
IMailService mailService)
{
this.clientsService = clientsService;
this.mailService = mailService;
}
示例4: SetUp
public override void SetUp()
{
base.SetUp();
_repository = Substitute.For<Logic.Mail.Send.IRepository>();
_mailService = Substitute.For<IMailService>();
_sut = new Logic.Mail.Send.CommandHandler(_repository, _mailService);
}
示例5: UserService
public UserService(IUserActionsDAO userActionDAO, AbstractUserMovieDAO userMovieRepo, IMoviesShowingService moviesService, IMailService mailService)
{
_userMovieRepo = userMovieRepo;
_userActionDAO = userActionDAO;
_moviesService = moviesService;
_mailService = mailService;
}
示例6: BusinessLogic
public BusinessLogic(DALFactory dalFactory, IMailService ms, IPdfMaker pdf)
{
this.db = dalFactory.CreateDatabase();
this.dalFactory = dalFactory;
this.ms = ms;
this.pdf = pdf;
}
示例7: RegistrationController
public RegistrationController(ICustomerManagementService customerManagementService, IAddressManagementService addressManagementService,
IMailService mailService)
{
_customerManagementService = customerManagementService;
_addressManagementService = addressManagementService;
_mailService = mailService;
}
示例8: OrdersService
public OrdersService(IOrdersRepository ordersRepository, IStorageItemsRepository storageItemsRepository, IClientsRepository clientsRepository, IMailService mailService)
{
_ordersRepository = ordersRepository;
_storageItemsRepository = storageItemsRepository;
_clientsRepository = clientsRepository;
_mailService = mailService;
}
示例9: ProfileController
public ProfileController(IMailService mail)
{
_mail = mail;
_mu = MembershipWrapper.GetUser();
if (_mu != null) _ua = new UserAccount(_mu.UserName);
}
示例10: CatalogueController
public CatalogueController(IDataService dataService, ISocialService socialService, IMailService mailService, IConvertService convertService, AuthorizationRoot authorizationRoot)
: base(dataService, authorizationRoot)
{
_socialService = socialService;
_mailService = mailService;
_convertService = convertService;
}
示例11: SetUp
public void SetUp()
{
this.mailService = A.Fake<IMailService>();
this.boxingService = A.Fake<IBoxingService>();
this.testee = new DeliveryService(this.mailService, this.boxingService);
}
示例12: ClientsService
public ClientsService(
IGangsterBankUnitOfWork gangsterBankUnitOfWork,
IMailService mailService)
{
Contract.Requires<ArgumentNullException>(gangsterBankUnitOfWork != null);
this.gangsterBankUnitOfWork = gangsterBankUnitOfWork;
this.mailService = mailService;
}
示例13: RegistryManager
public RegistryManager(IGiftRepository giftRepository, ILoggingService loggingService,ICurrentUser currentUser, IUserRepository userRepository, IMailService mailService)
{
_giftRepository = giftRepository;
_loggingService = loggingService;
_currentUser = currentUser;
_userRepository = userRepository;
_mailService = mailService;
}
示例14: SetUp
public void SetUp()
{
mailServiceMock = MockRepository.GenerateMock<IMailService>();
templateEngineMock = MockRepository.GenerateMock<ITemplateEngine>();
templateSourceMock = MockRepository.GenerateMock<ITemplateSource>();
listener = new SendWelcomeEmailUserRegisteredEventListener(mailServiceMock, templateEngineMock,
templateSourceMock);
}
示例15: DefaultTranslationService
public DefaultTranslationService(IDataService dataService, ICacheService cacheService,
IMailService mailService, IConfigurationService configurationService)
{
_dataService = dataService;
_cacheService = cacheService;
_mailService = mailService;
_configurationService = configurationService;
}
开发者ID:transformersprimeabcxyz,项目名称:ResourceFirstTranslations,代码行数:8,代码来源:DefaultTranslationService.cs