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); }
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); }
public PasswordStrengthChecker(EntityApp app, PasswordCheckerSettings settings = null) { _settings = settings ?? PasswordCheckerSettings.CreateDefault(); app.RegisterConfig(_settings); }
public SmtpService(EntityApp app, SmtpSettings settings) { _app = app; _settings = settings; _app.RegisterService<IEmailSendService>(this); _app.RegisterConfig(settings); }