Beispiel #1
0
 public SmtpService(EntityApp app, SmtpSettings settings)
 {
     _app      = app;
     _settings = settings;
     _app.RegisterService <ISmtpService>(this);
     _app.RegisterConfig(settings);
 }
 public WebCallContextHandler(EntityApp app, WebCallContextHandlerSettings settings) {
   App = app;
   Settings = settings ?? new WebCallContextHandlerSettings();
   App.RegisterConfig(Settings);
   _webCallLog = App.GetService<IWebCallLogService>();
   _errorLog = App.GetService<IErrorLogService>();
   App.RegisterService<IWebCallNotificationService>(this); 
 }
Beispiel #3
0
 public WebCallContextHandler(EntityApp app, WebCallContextHandlerSettings settings)
 {
     App      = app;
     Settings = settings ?? new WebCallContextHandlerSettings();
     App.RegisterConfig(Settings);
     _webCallLog     = App.GetService <IWebCallLogService>();
     _errorLog       = App.GetService <IErrorLogService>();
     _sessionService = App.GetService <IUserSessionService>();
     App.RegisterService <IWebCallNotificationService>(this);
 }
Beispiel #4
0
 public PasswordStrengthChecker(EntityApp app, PasswordCheckerSettings settings = null)
 {
     _settings = settings ?? PasswordCheckerSettings.CreateDefault();
     app.RegisterConfig(_settings);
 }
Beispiel #5
0
 public SmtpService(EntityApp app, SmtpSettings settings)  {
   _app = app; 
   _settings = settings;
   _app.RegisterService<IEmailSendService>(this);
   _app.RegisterConfig(settings); 
 }
 public PasswordStrengthChecker(EntityApp app, PasswordCheckerSettings settings = null)
 {
     _settings = settings ?? PasswordCheckerSettings.CreateDefault();
       app.RegisterConfig(_settings);
 }