protected BundleBase(IFileWriterFactory fileWriterFactory, IFileReaderFactory fileReaderFactory, IDebugStatusReader debugStatusReader, ICurrentDirectoryWrapper currentDirectoryWrapper, IHasher hasher) { this.fileWriterFactory = fileWriterFactory; this.fileReaderFactory = fileReaderFactory; this.debugStatusReader = debugStatusReader; this.currentDirectoryWrapper = currentDirectoryWrapper; this.hasher = hasher; }
public DocumentFactory(IFileWriterFactory fileWriterFactory, IFileReaderFactory fileReaderFactory) { Ensure.ArgumentNotNull(fileWriterFactory, "fileWriterFactory"); Ensure.ArgumentNotNull(fileReaderFactory, "fileReaderFactory"); _fileWriterFactory = fileWriterFactory; _fileReaderFactory = fileReaderFactory; }
public HtmlExporter(IFileWriterFactory writerFactory, IDocumentParser parser) { Ensure.ArgumentNotNull(writerFactory, "writerFactory"); Ensure.ArgumentNotNull(parser, "parser"); _writerFactory = writerFactory; _parser = parser; }
public DocumentEditor( IDocumentFactory documentFactory, IFileSystem fileSystem, IFileWriterFactory writerFactory, IDialogService dialogService) { Ensure.ArgumentNotNull(documentFactory, "documentFactory"); Ensure.ArgumentNotNull(fileSystem, "fileSystem"); Ensure.ArgumentNotNull(writerFactory, "writerFactory"); Ensure.ArgumentNotNull(dialogService, "dialogService"); _documentFactory = documentFactory; _fileSystem = fileSystem; _tempDirPath = _fileSystem.Path.Combine(_fileSystem.Path.GetTempPath(), "Proverb"); _writerFactory = writerFactory; _dialogService = dialogService; Document = _documentFactory.NewDocument(); }
public JavaScriptBundle(IDebugStatusReader debugStatusReader, IFileWriterFactory fileWriterFactory, IFileReaderFactory fileReaderFactory, ICurrentDirectoryWrapper currentDirectoryWrapper, IHasher hasher) : base(fileWriterFactory, fileReaderFactory, debugStatusReader, currentDirectoryWrapper, hasher) { }
public CssBundleFactory WithFileWriterFactory(IFileWriterFactory fileWriterFactory) { this.fileWriterFactory = fileWriterFactory; return(this); }
public PersonLogger(IFileWriterFactory fileWriterFactory) { this.fileWriterFactory = fileWriterFactory; }
public FunctionFileLoggerProvider(IOptions <ScriptJobHostOptions> scriptOptions, IFileLoggingStatusManager fileLoggingStatusManager, IPrimaryHostStateProvider primaryHostStateProvider, IFileWriterFactory fileWriterFactory) { _rootLogPath = scriptOptions.Value.RootLogPath; _isFileLoggingEnabled = () => fileLoggingStatusManager.IsFileLoggingEnabled; _isPrimary = () => primaryHostStateProvider.IsPrimary; _hostInstanceId = scriptOptions.Value.InstanceId; _fileWriterFactory = fileWriterFactory ?? throw new ArgumentNullException(nameof(fileWriterFactory)); }
public CssBundle(IDebugStatusReader debugStatusReader, IFileWriterFactory fileWriterFactory, IFileReaderFactory fileReaderFactory) : base(fileWriterFactory, fileReaderFactory, debugStatusReader) { }
public FileRenderer(IFileWriterFactory fileWriterFactory) { this.fileWriterFactory = fileWriterFactory; }
public JavaScriptBundle(IDebugStatusReader debugStatusReader, IFileWriterFactory fileWriterFactory, IFileReaderFactory fileReaderFactory, IDirectoryWrapper directoryWrapper, IHasher hasher, IContentCache bundleCache, IContentCache rawContentCache) : base(fileWriterFactory, fileReaderFactory, debugStatusReader, directoryWrapper, hasher, bundleCache, rawContentCache) { }
public JavaScriptBundleFactory WithFileWriterFactory(IFileWriterFactory fileWriterFactory) { this.fileWriterFactory = fileWriterFactory; return this; }
public CSSBundleFactory WithFileWriterFactory(IFileWriterFactory fileWriterFactory) { this.fileWriterFactory = fileWriterFactory; return this; }
public PersonLogger() { fileWriterFactory = new FileWriterFactory(); }
protected BundleBase(IFileWriterFactory fileWriterFactory, IFileReaderFactory fileReaderFactory, IDebugStatusReader debugStatusReader) { this.fileWriterFactory = fileWriterFactory; this.fileReaderFactory = fileReaderFactory; this.debugStatusReader = debugStatusReader; }
public CssBundle(IDebugStatusReader debugStatusReader, IFileWriterFactory fileWriterFactory, IFileReaderFactory fileReaderFactory, ICurrentDirectoryWrapper currentDirectoryWrapper, IHasher hasher) : base(fileWriterFactory, fileReaderFactory, debugStatusReader, currentDirectoryWrapper, hasher) { }
public JavaScriptBundle(IDebugStatusReader debugStatusReader, IFileWriterFactory fileWriterFactory, IFileReaderFactory fileReaderFactory, ICurrentDirectoryWrapper currentDirectoryWrapper, IHasher hasher, IBundleCache bundleCache) : base(fileWriterFactory, fileReaderFactory, debugStatusReader, currentDirectoryWrapper, hasher, bundleCache) { }
public EntityLogger() { fileWriterFactory = new FileWriterFactory(); }
public EntityLogger(IFileWriterFactory fileWriterFactory) { this.fileWriterFactory = fileWriterFactory; }
private CssBundleFactory WithFileWriterFactory(IFileWriterFactory fileWriterFactory) { this.fileWriterFactory = fileWriterFactory; return this; }
public JavaScriptBundleFactory WithFileWriterFactory(IFileWriterFactory fileWriterFactory) { this.fileWriterFactory = fileWriterFactory; return(this); }
public void SetUp() { mockDebugStatusReader = new StubDebugStatusReader(false); mockFileWriterFactory = new StubFileWriterFactory(); cssMockFileReaderFactory = new StubFileReaderFactory(); jsMockFileReaderFactory = new StubFileReaderFactory(); cssMockFileReaderFactory.SetContents(css); jsMockFileReaderFactory.SetContents(javaScript); }
public JavaScriptBundle(IDebugStatusReader debugStatusReader, IFileWriterFactory fileWriterFactory, IFileReaderFactory fileReaderFactory) : base(fileWriterFactory, fileReaderFactory, debugStatusReader) { }
public CSSBundle(IDebugStatusReader debugStatusReader, IFileWriterFactory fileWriterFactory, IFileReaderFactory fileReaderFactory, IDirectoryWrapper directoryWrapper, IHasher hasher, IBundleCache bundleCache) : base(fileWriterFactory, fileReaderFactory, debugStatusReader, directoryWrapper, hasher, bundleCache) { }