/// <summary> /// Initializes a new instance of the <see cref="UserAccountController"/> class. /// </summary> /// <param name="service">The service.</param> /// <param name="appInfo">The application information.</param> public UserAccountController(IUserAccountService service, IApplicationInformation appInfo) { _userService = service; _appInfo = appInfo; Module = ModelType.UserAccount; }
public EmbyClient(IAppLogger logger, IDevice device, ICryptographyProvider cryptographyProvider, IConnectionInformation connectionInformation, IApplicationInformation applicationInformation) : base(logger, connectionInformation.ServerUrl, applicationInformation.Name, device, applicationInformation.Version, cryptographyProvider) { _connectionInformation = connectionInformation; }
public AboutViewModel(IEmailComposeTaskFacade emailComposeTask, IApplicationInformation applicationInformation, IApplicationMarketplaceFacade marketplaceFacade, INavigationService navigationService) { this.emailComposeTask = emailComposeTask; this.applicationInformation = applicationInformation; this.marketplaceFacade = marketplaceFacade; this.navigationService = navigationService; }
protected MessagingEventHandler(IApplicationInformation appInfo) { AppInfo = appInfo; var evtStr = typeof(TEvent).Name; if (!string.IsNullOrEmpty(evtStr)) { Module = evtStr.Replace("Event", ""); } }
public AddJobsViewModel(INavigationService navigationService, IJobController jobController, IJobProviderFactory jobProviderFactory, IJobRepository jobRepository, ISchedulerAccessor schedulerAccessor, IApplicationInformation applicationInformation, IMessageBoxFacade messageBoxFacade) { this.navigationService = navigationService; this.jobController = jobController; this.jobProviderFactory = jobProviderFactory; this.jobRepository = jobRepository; this.schedulerAccessor = schedulerAccessor; this.applicationInformation = applicationInformation; this.messageBoxFacade = messageBoxFacade; }
protected EmailEventHandler(IEmailService emailService, IApplicationInformation appInfo, IMessagingFormatter <TEvent> formatter) : base(appInfo) { if (emailService == null) { throw new ArgumentNullException("emailService"); } _emailService = emailService; _messageFormatter = formatter; }
public MessagingFormatter(MessagingType type, IApplicationInformation appInfo) { _module = typeof(TEvent).Name.Replace("Event", string.Empty); // module; _type = type; _appInfo = appInfo; switch (_type) { case MessagingType.Email: _bodyTemplatePath = AppConstants.MessageTemplatesPath.EmailBody; _subjectTemplatePath = AppConstants.MessageTemplatesPath.EmailSubject; break; } }
public Bootstrap(IApplicationSettings applicationSettings, IClock clock, IMessageBoxFacade messageBox, IMutexService mutexService, ILogManager logManager, ISettingsApplier settingsApplier, IJobRepository jobRepository, IPeriodicJobUpdateService periodicJobUpdateService, IApplicationInformation applicationInformation) { this.applicationSettings = applicationSettings; this.clock = clock; this.messageBox = messageBox; this.mutexService = mutexService; this.logManager = logManager; this.jobRepository = jobRepository; this.periodicJobUpdateService = periodicJobUpdateService; this.settingsApplier = settingsApplier; this.applicationInformation = applicationInformation; }
public JobUpdateService(IJobProviderFactory jobProviderFactory, IJobRepository jobRepository, IClock clock, ISettingsService settingsService, IMutexService mutexService, ISchedulerAccessor schedulerAccessor, IApplicationTileService applicationTileService, IJobNotificationService jobNotificationService, ILog log, INetworkInterfaceFacade networkInterfaceFacade, IApplicationInformation applicationInformation) { this.jobProviderFactory = jobProviderFactory; this.jobRepository = jobRepository; this.clock = clock; this.settingsService = settingsService; this.mutexService = mutexService; this.schedulerAccessor = schedulerAccessor; this.applicationTileService = applicationTileService; this.jobNotificationService = jobNotificationService; this.log = log; this.networkInterfaceFacade = networkInterfaceFacade; this.applicationInformation = applicationInformation; }
public AppSettingsService(IUnitOfWorkAsync unitOfWork, IApplicationInformation appInfo) : base(unitOfWork) { _defaultSettings = new AppSettings { ShortName = appInfo.ApplicationName, LongName = appInfo.ApplicationName, Description = appInfo.ApplicationName, Copyright = appInfo.ApplicationName, Keywords = null, Version = null, Email = appInfo.Email, EmailSignature = appInfo.ApplicationName, LongDateTimeFormat = null, ShortDateTimeFormat = null, TinyDateTimeFormat = null, GoogleAnalyticsKey = null }; }
internal Information(IApplicationInformation application, IMachineInformation machine, IUserInformation user) { Application = application; Machine = machine; User = user; }
public UserAgent(IApplicationInformation applicationInformation) { _name = applicationInformation.Title ?? "Unknown"; _version = applicationInformation.Version ?? "0.0"; }
public UserAgent(IApplicationInformation applicationInformation) { this._name = applicationInformation.Title ?? "Unknown"; this._version = applicationInformation.Version ?? "0.0"; }
public static void SetParameter(this IMediaStreamFacadeBase mediaStreamFacade, IApplicationInformation applicationInformation) { mediaStreamFacade.Builder.RegisterSingleton <IApplicationInformation>(applicationInformation); }
public EmailUserAccountEventHandler(IEmailService emailService, IApplicationInformation appInfo, IMessagingFormatter <UserAccountEvent> formatter) : base(emailService, appInfo, formatter) { }
public static ProductInfoHeaderValue CreateUserAgent(this IApplicationInformation applicationInformation);
/// <summary> /// Creates a new object. /// </summary> /// <param name="webSite"></param> public DirectoryEntryJsonPage(WebSite webSite) : base(webSite) { _FeedManager = Factory.Singleton.Resolve <IFeedManager>().Singleton; _ApplicationInformation = Factory.Singleton.Resolve <IApplicationInformation>(); }