public InstallerHookOperations(IFileSystemFactory fileSystem, string applicationName) { // XXX: ALWAYS BE LOGGING this.log = new WrappingFullLogger(new FileLogger(applicationName), typeof(InstallerHookOperations)); this.fileSystem = fileSystem; this.applicationName = applicationName; }
public InstallerHookOperations(IFileSystemFactory fileSystem, string applicationName) { // XXX: ALWAYS BE LOGGING this.log = new WrappingFullLogger(new FileLogger(applicationName), typeof(InstallerHookOperations)); this.fileSystem = fileSystem; this.applicationName = applicationName; }
public UpdateManager(string urlOrPath, string applicationName, FrameworkVersion appFrameworkVersion, string rootDirectory = null, IFileSystemFactory fileSystem = null, IUrlDownloader urlDownloader = null) { Contract.Requires(!String.IsNullOrEmpty(urlOrPath)); Contract.Requires(!String.IsNullOrEmpty(applicationName)); log = LogManager.GetLogger<UpdateManager>(); updateUrlOrPath = urlOrPath; this.applicationName = applicationName; this.appFrameworkVersion = appFrameworkVersion; this.rootAppDirectory = Path.Combine(rootDirectory ?? getLocalAppDataDirectory(), applicationName); this.fileSystem = fileSystem ?? AnonFileSystem.Default; this.urlDownloader = urlDownloader ?? new DirectUrlDownloader(fileSystem); }
public UpdateManager(string urlOrPath, string applicationName, FrameworkVersion appFrameworkVersion, string rootDirectory = null, IFileSystemFactory fileSystem = null, IUrlDownloader urlDownloader = null) { Contract.Requires(!String.IsNullOrEmpty(urlOrPath)); Contract.Requires(!String.IsNullOrEmpty(applicationName)); log = LogManager.GetLogger <UpdateManager>(); updateUrlOrPath = urlOrPath; this.applicationName = applicationName; this.appFrameworkVersion = appFrameworkVersion; this.rootAppDirectory = Path.Combine(rootDirectory ?? getLocalAppDataDirectory(), applicationName); this.fileSystem = fileSystem ?? AnonFileSystem.Default; this.urlDownloader = urlDownloader ?? new DirectUrlDownloader(fileSystem); }
public UpdateManager(string urlOrPath, string applicationName, FrameworkVersion appFrameworkVersion, string rootDirectory = null, IFileSystemFactory fileSystem = null, IUrlDownloader urlDownloader = null) { Contract.Requires(!String.IsNullOrEmpty(urlOrPath)); Contract.Requires(!String.IsNullOrEmpty(applicationName)); // XXX: ALWAYS BE LOGGING log = new WrappingFullLogger(new FileLogger(applicationName), typeof(UpdateManager)); updateUrlOrPath = urlOrPath; this.applicationName = applicationName; this.appFrameworkVersion = appFrameworkVersion; this.rootAppDirectory = Path.Combine(rootDirectory ?? getLocalAppDataDirectory(), applicationName); this.fileSystem = fileSystem ?? AnonFileSystem.Default; this.urlDownloader = urlDownloader ?? new DirectUrlDownloader(fileSystem); }
public UpdateManager(string urlOrPath, string applicationName, FrameworkVersion appFrameworkVersion, string rootDirectory = null, IFileSystemFactory fileSystem = null, IUrlDownloader urlDownloader = null) { Contract.Requires(!String.IsNullOrEmpty(urlOrPath)); Contract.Requires(!String.IsNullOrEmpty(applicationName)); // XXX: ALWAYS BE LOGGING log = new WrappingFullLogger(new FileLogger(applicationName), typeof(UpdateManager)); updateUrlOrPath = urlOrPath; this.applicationName = applicationName; this.appFrameworkVersion = appFrameworkVersion; this.rootAppDirectory = Path.Combine(rootDirectory ?? getLocalAppDataDirectory(), applicationName); this.fileSystem = fileSystem ?? AnonFileSystem.Default; this.urlDownloader = urlDownloader ?? new DirectUrlDownloader(fileSystem); }
public InstallerHookOperations(IRxUIFullLogger log, IFileSystemFactory fileSystem, string applicationName) { this.log = log; this.fileSystem = fileSystem; this.applicationName = applicationName; }
public InstallManager(ReleaseEntry bundledRelease, string targetRootDirectory = null) { BundledRelease = bundledRelease; TargetRootDirectory = targetRootDirectory; log = LogManager.GetLogger<InstallManager>(); }
public InstallManager(ReleaseEntry bundledRelease, string targetRootDirectory = null) { BundledRelease = bundledRelease; TargetRootDirectory = targetRootDirectory; log = LogManager.GetLogger <InstallManager>(); }
public InstallerHookOperations(IRxUIFullLogger log, IFileSystemFactory fileSystem, string applicationName) { this.log = log; this.fileSystem = fileSystem; this.applicationName = applicationName; }