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

C# IMailService类代码示例

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

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



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


示例16: SetUp

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


示例17: PaymentService

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


示例18: UserService

        public UserService(IRepository<Utente> repo, IFormsAuthentication formsAuth, IAuditing auditing, IMailService mailService )
        {
            _userRepo = repo;
            _formsAuth = formsAuth;
            _mailService = mailService;

            if ((_auditing = auditing) == null)
                throw new ArgumentNullException("auditing");
        }
开发者ID:avannini,项目名称:uisp-mobile,代码行数:9,代码来源:UserService.cs


示例19: AdministrationHomeController

 public AdministrationHomeController(IDataService dataService, ICacheService cacheService,
     ITranslationService translationService, IMailService mailService, IConfigurationService configurationService)
 {
     _dataService = dataService;
     _cacheService = cacheService;
     _translationService = translationService;
     _mailService = mailService;
     _configurationService = configurationService;
 }
开发者ID:transformersprimeabcxyz,项目名称:ResourceFirstTranslations,代码行数:9,代码来源:AdministrationHomeController.cs


示例20: EmailMessageService

 public EmailMessageService(IConfigurationMessageService configurationService, IMessaggisticaService messaggisticaService, IDocumentService documentService, IMailService mailService, IFileTypeDetector fileTypeDetector, IDaoFactory daoFactory)
 {
     _documentService = documentService;
     _configurationService = configurationService;
     _messaggisticaService = messaggisticaService;
     _mailService = mailService;
     _fileTypeDetector = fileTypeDetector;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:9,代码来源:EmailMessageService.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# IMainForm类代码示例发布时间:2022-05-24
下一篇:
C# IMailFolder类代码示例发布时间: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