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


C# IMailService类代码示例

本文整理汇总了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;
 }
开发者ID:GIEMedia,项目名称:PCT,代码行数:7,代码来源:CourseController.cs

示例2: AdminController

 public AdminController(IDataService dataService, AuthorizationRoot authorizationRoot, IMailService mailService, ISocialService socialService)
     : base(dataService, authorizationRoot)
 {
     _dataService = dataService;
     _mailService = mailService;
     _socialService = socialService;
 }
开发者ID:avgx,项目名称:knigoskop,代码行数:7,代码来源:AdminController.cs

示例3: SendPaymentNotification

 public SendPaymentNotification(
     IClientsService clientsService,
     IMailService mailService)
 {
     this.clientsService = clientsService;
     this.mailService = mailService;
 }
开发者ID:dzhivtsov,项目名称:GangsterBank,代码行数:7,代码来源:SendPaymentNotification.cs

示例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);
 }
开发者ID:tomekjanicki,项目名称:architecture2,代码行数:7,代码来源:Send.cs

示例5: UserService

 public UserService(IUserActionsDAO userActionDAO, AbstractUserMovieDAO userMovieRepo, IMoviesShowingService moviesService, IMailService mailService)
 {
     _userMovieRepo = userMovieRepo;
     _userActionDAO = userActionDAO;
     _moviesService = moviesService;
     _mailService = mailService;
 }
开发者ID:Grekk,项目名称:MovieAPI,代码行数:7,代码来源:UserService.cs

示例6: BusinessLogic

 public BusinessLogic(DALFactory dalFactory, IMailService ms, IPdfMaker pdf)
 {
     this.db = dalFactory.CreateDatabase();
     this.dalFactory = dalFactory;
     this.ms = ms;
     this.pdf = pdf;
 }
开发者ID:ChristophWurst,项目名称:UFO,代码行数:7,代码来源:BusinessLogic.cs

示例7: RegistrationController

 public RegistrationController(ICustomerManagementService customerManagementService, IAddressManagementService addressManagementService,
     IMailService mailService)
 {
     _customerManagementService = customerManagementService;
     _addressManagementService = addressManagementService;
     _mailService = mailService;
 }
开发者ID:njmube,项目名称:ariyaphase2,代码行数:7,代码来源:RegistrationController.cs

示例8: OrdersService

 public OrdersService(IOrdersRepository ordersRepository, IStorageItemsRepository storageItemsRepository, IClientsRepository clientsRepository, IMailService mailService)
 {
     _ordersRepository = ordersRepository;
     _storageItemsRepository = storageItemsRepository;
     _clientsRepository = clientsRepository;
     _mailService = mailService;
 }
开发者ID:tmaconko,项目名称:FluentInterface,代码行数:7,代码来源:OrdersService.cs

示例9: ProfileController

        public ProfileController(IMailService mail)
        {
            _mail = mail;
            _mu = MembershipWrapper.GetUser();

            if (_mu != null) _ua = new UserAccount(_mu.UserName);
        }
开发者ID:dasklub,项目名称:kommunity,代码行数:7,代码来源:ProfileController.cs

示例10: CatalogueController

 public CatalogueController(IDataService dataService, ISocialService socialService, IMailService mailService, IConvertService convertService, AuthorizationRoot authorizationRoot)
     : base(dataService, authorizationRoot)
 {
     _socialService = socialService;
     _mailService = mailService;
     _convertService = convertService;
 }
开发者ID:avgx,项目名称:knigoskop,代码行数:7,代码来源:CatalogueController.cs

示例11: SetUp

        public void SetUp()
        {
            this.mailService = A.Fake<IMailService>();
            this.boxingService = A.Fake<IBoxingService>();

            this.testee = new DeliveryService(this.mailService, this.boxingService);
        }
开发者ID:cchitsiang,项目名称:CleanCode,代码行数:7,代码来源:DeliveryServiceTest.cs

示例12: ClientsService

 public ClientsService(
     IGangsterBankUnitOfWork gangsterBankUnitOfWork,
     IMailService mailService)
 {
     Contract.Requires<ArgumentNullException>(gangsterBankUnitOfWork != null);
     this.gangsterBankUnitOfWork = gangsterBankUnitOfWork;
     this.mailService = mailService;
 }
开发者ID:dzhivtsov,项目名称:GangsterBank,代码行数:8,代码来源:ClientsService.cs

示例13: RegistryManager

 public RegistryManager(IGiftRepository giftRepository, ILoggingService loggingService,ICurrentUser currentUser, IUserRepository userRepository, IMailService mailService)
 {
     _giftRepository = giftRepository;
     _loggingService = loggingService;
     _currentUser = currentUser;
     _userRepository = userRepository;
     _mailService = mailService;
 }
开发者ID:ammeep,项目名称:giftme,代码行数:8,代码来源:IRegistryManager.cs

示例14: SetUp

 public void SetUp()
 {
     mailServiceMock = MockRepository.GenerateMock<IMailService>();
     templateEngineMock = MockRepository.GenerateMock<ITemplateEngine>();
     templateSourceMock = MockRepository.GenerateMock<ITemplateSource>();
     listener = new SendWelcomeEmailUserRegisteredEventListener(mailServiceMock, templateEngineMock,
                                                                templateSourceMock);
 }
开发者ID:DogaOztuzun,项目名称:BlogSharp,代码行数:8,代码来源:UserRegisteredEventListenerTests.cs

示例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


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