本文整理汇总了C#中ISmsSender类的典型用法代码示例。如果您正苦于以下问题:C# ISmsSender类的具体用法?C# ISmsSender怎么用?C# ISmsSender使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ISmsSender类属于命名空间,在下文中一共展示了ISmsSender类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: QueuedSmsSendTask
public QueuedSmsSendTask(IQueuedSmsService queuedSmsService,
ISmsSender smsSender, ILogger logger)
{
this._queuedSmsService = queuedSmsService;
this._smsSender = smsSender;
this._logger = logger;
}
开发者ID:bane163,项目名称:nopcommerce-twilio-plugin,代码行数:7,代码来源:QueuedSmsSendTask.cs
示例2: EchoSearchTimerPlugIn
public EchoSearchTimerPlugIn(IExceptionEmailSender emailSender, ISmsSender smsSender, IInternalErrorMailSender defaultEmailSender,
IEchoSearchService echoSearchService)
: base(emailSender, smsSender, null)
{
_defaultEmailSender = defaultEmailSender;
_echoSearchService = echoSearchService;
}
开发者ID:richinoz,项目名称:Mailer,代码行数:7,代码来源:EchoSearchTimerPlugIn.cs
示例3: UserService
public UserService(IUserRepository userRepository, ICountryRepository countryRepository,
IEmailSender emailSender, ISmsSender smsSender)
{
this.userRepository = userRepository;
this.countryRepository = countryRepository;
this.emailSender = emailSender;
this.smsSender = smsSender;
}
开发者ID:mustee,项目名称:Voting,代码行数:8,代码来源:UserService.cs
示例4: AccountController
public AccountController(UserManager<ApplicationUser> userManager, SignInManager<ApplicationUser> signInManager, IEmailSender emailSender, ISmsSender smsSender, ILogger<AccountController> logger)
{
_userManager = userManager;
_signInManager = signInManager;
_emailSender = emailSender;
_smsSender = smsSender;
_logger = logger;
}
开发者ID:yvaravko,项目名称:JuveV,代码行数:8,代码来源:AccountController.cs
示例5: ManageController
public ManageController(
UserManager<ApplicationUser> userManager,
SignInManager<ApplicationUser> signInManager,
ISmsSender smsSender)
{
_userManager = userManager;
_signInManager = signInManager;
_smsSender = smsSender;
}
开发者ID:sherif-elmetainy,项目名称:wowsharp,代码行数:9,代码来源:ManageController.cs
示例6: LoginController
public LoginController(
LoginService loginService,
SignInInteraction signInInteraction, ISmsSender smsSender, ILoggerFactory loggerFactory)
{
_loginService = loginService;
_signInInteraction = signInInteraction;
_smsSender = smsSender;
_logger = loggerFactory.CreateLogger<LoginController>();
}
开发者ID:Charmatzis,项目名称:IT4GOV,代码行数:9,代码来源:LoginController.cs
示例7: DataController
public DataController(
IAppDbRepository appRepository,
IEmailSender emailSender,
ISmsSender smsSender)
{
this._appRepository = appRepository;
this._emailSender = emailSender;
this._smsSender = smsSender;
}
开发者ID:AlexMSmithCA,项目名称:HNGRY,代码行数:9,代码来源:DataController.cs
示例8: HomeController
public HomeController(
IWiFiAuthService wifiAuthService,
IEmailSender emailSender,
ISmsSender smsSender)
{
_wifiAuthService = wifiAuthService;
_emailSender = emailSender;
_smsSender = smsSender;
}
开发者ID:openauth,项目名称:WiFiDog-Auth,代码行数:9,代码来源:HomeController.cs
示例9: SignUpController
public SignUpController(SignUpService signUpService, LoginService loginService,
ISmsSender smsSender, ILoggerFactory loggerFactory, IHostingEnvironment hostingEnvironment)
{
_signupService = signUpService;
_loginService = loginService;
_smsSender = smsSender;
_logger = loggerFactory.CreateLogger<SignUpController>();
_hostingEnvironment = hostingEnvironment;
}
开发者ID:Charmatzis,项目名称:IT4GOV,代码行数:10,代码来源:SignUpController.cs
示例10: FileController
public FileController(ApplicationDbContext context, IOptions<StorageSettings> options, UserManager<ApplicationUser> userManager, ISmsSender smsSender, IOptions<SMSSettings> smsOptions)
{
Manager = userManager;
_context = context;
_smsSender = smsSender;
_storageConnectionString = options.Value.StorageStringConnection;
_sid = smsOptions.Value.Sid;
_authToken = smsOptions.Value.Token;
_number = smsOptions.Value.Number;
}
开发者ID:lumalav,项目名称:3DCytoFlowMVC6,代码行数:10,代码来源:FileController.cs
示例11: ManageController
public ManageController(
UserManager<Author> userManager,
SignInManager<Author> signInManager,
IEmailSender emailSender,
ISmsSender smsSender)
{
_userManager = userManager;
_signInManager = signInManager;
_emailSender = emailSender;
_smsSender = smsSender;
}
开发者ID:TryEtchd,项目名称:Etchd,代码行数:11,代码来源:ManageController.cs
示例12: AccountController
public AccountController(
UserManager<IdentityUser> userManager,
SignInManager<IdentityUser> signInManager,
IEmailSender emailSender,
ISmsSender smsSender)
{
_userManager = userManager;
_signInManager = signInManager;
_emailSender = emailSender;
_smsSender = smsSender;
}
开发者ID:danclarke,项目名称:AspNetIdentity3NPOCODataStores,代码行数:11,代码来源:AccountController.cs
示例13: ManageController
public ManageController(UserManager<ApplicationUser> userManager,
SignInManager<ApplicationUser> signInManager,
IEmailSender emailSender,
ISmsSender smsSender,
ILoggerFactory loggerFactory) : base(userManager)
{
_signInManager = signInManager;
_emailSender = emailSender;
_smsSender = smsSender;
_logger = loggerFactory.CreateLogger<ManageController>();
}
开发者ID:Thetyne,项目名称:BodyReport,代码行数:11,代码来源:ManageController.cs
示例14: TestInitialize
public void TestInitialize()
{
mocks = new MockRepository();
smsSender = mocks.CreateMock<ISmsSender>();
user = new User("sally", "1234");
userRepository = mocks.Stub<IUserRepository>();
SetupResult.For(userRepository.GetByUserName("sally"))
.Return(user);
}
开发者ID:JackWangCUMT,项目名称:rhino-tools,代码行数:11,代码来源:RhinoMocks101.cs
示例15: AccountController
public AccountController(
UserManager<ApplicationUser> userManager,
SignInManager<ApplicationUser> signInManager,
IEmailSender emailSender,
ISmsSender smsSender,
ApplicationDbContext applicationDbContext) {
_userManager = userManager;
_signInManager = signInManager;
_emailSender = emailSender;
_smsSender = smsSender;
_applicationDbContext = applicationDbContext;
}
开发者ID:mkjeff,项目名称:aspcore.ng2.template,代码行数:12,代码来源:AccountController.cs
示例16: ManageController
public ManageController(
ISiteResolver siteResolver,
SiteUserManager<SiteUser> userManager,
SiteSignInManager<SiteUser> signInManager,
ISmsSender smsSender)
{
Site = siteResolver.Resolve();
this.userManager = userManager;
this.signInManager = signInManager;
// this.emailSender = emailSender;
this.smsSender = smsSender;
}
开发者ID:ludev,项目名称:cloudscribe,代码行数:12,代码来源:ManageController.cs
示例17: AccountController
public AccountController(
UserManager<ApplicationUser> userManager,
SignInManager<ApplicationUser> signInManager,
IEmailSender emailSender,
ISmsSender smsSender,
ILoggerFactory loggerFactory) {
_userManager = userManager;
_signInManager = signInManager;
_emailSender = emailSender;
_smsSender = smsSender;
_logger = loggerFactory.CreateLogger<AccountController>();
}
开发者ID:olliholliday,项目名称:TvList,代码行数:12,代码来源:AccountController.cs
示例18: GetTestNotificationProcessor
//private NotificationProcessor GetTestNotificationProcessor(IDocumentStore store,int backOffSeconds=100)
//{
// var logStub = MockRepository.GenerateStub<log4net.ILog>();
// var storeStub = MockRepository.GenerateStub<IDocumentStore>();
// return new NotificationProcessor(
// new EmailNotificationDispatcher(logStub,new TestEmailSender {Store = store}),
// new ToastDispatcher(storeStub, logStub),
// new[] { store },
// new SmsDispatcher(logStub,new TestSmsSender()),
// logStub,
// backOffSeconds);
//}
private NotificationProcessor GetTestNotificationProcessor(IDocumentStore store, IEmailSender emailSender, ISmsSender smsSender,int backOffSeconds = 100)
{
var logStub = MockRepository.GenerateStub<log4net.ILog>();
var storeStub = MockRepository.GenerateStub<IDocumentStore>();
return new NotificationProcessor(
new EmailNotificationDispatcher(logStub, emailSender),
new ToastDispatcher(storeStub, logStub),
new[] { store },
new SmsDispatcher(logStub, smsSender),
logStub,
backOffSeconds);
}
开发者ID:andyevans2000,项目名称:Illuminate,代码行数:27,代码来源:TestNotifications.cs
示例19: AccountController
public AccountController(
UserManager<ApplicationUser> userManager,
SignInManager<ApplicationUser> signInManager,
IEmailSender emailSender,
ISmsSender smsSender,
MyCountriesContext context)
{
_userManager = userManager;
_signInManager = signInManager;
_emailSender = emailSender;
_smsSender = smsSender;
_context = context;
}
开发者ID:princeppy,项目名称:MyCountries,代码行数:13,代码来源:AccountController.cs
示例20: AccountController
public AccountController(
UserManager<ApplicationUser> userManager,
SignInManager<ApplicationUser> signInManager,
IEmailSender emailSender,
ISmsSender smsSender,
LetsShareDbContext libraryDbContext)
{
_userManager = userManager;
_signInManager = signInManager;
_emailSender = emailSender;
_smsSender = smsSender;
_libraryDbContext = libraryDbContext;
}
开发者ID:ValerieVerplanken,项目名称:LetsShare,代码行数:13,代码来源:AccountController.cs
注:本文中的ISmsSender类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论