Пример #1
0
 public FileRenameCommand(IFileSystemProxy fileSystemProxy, IImageProcessor imageProcessor, IFileNameFormatter fileNameFormatter, IDirectoryNameFormatter directoryNameFormatter)
 {
     _directoryNameFormatter = directoryNameFormatter;
     _fileNameFormatter      = fileNameFormatter;
     _imageProcessor         = imageProcessor;
     _fileSystemProxy        = fileSystemProxy;
 }
Пример #2
0
 public FileWriter(IOptions <PipaslotLoggerOptions> options, string name, RollingInterval rollingInterval, IFileNameFormatter fileNameFormatter, QueueFormatter formatter)
 {
     _options           = options;
     _name              = name;
     _formatter         = formatter;
     _rollingInterval   = rollingInterval;
     _fileNameFormatter = fileNameFormatter;
 }
Пример #3
0
 public FileEraser(IOptions <PipaslotLoggerOptions> options, IFileNameFormatter nameFormatter)
 {
     _options       = options;
     _nameFormatter = nameFormatter;
 }
Пример #4
0
 public FileWriter(IOptions <PipaslotLoggerOptions> options, string name, RollingInterval rollingInterval, IFileNameFormatter fileNameFormatter) : this(options, name,
                                                                                                                                                        rollingInterval, fileNameFormatter, new QueueFormatter())
 {
 }
Пример #5
0
 public FileWriterFactory(IOptions <PipaslotLoggerOptions> options, IFileNameFormatter fileNameFormatter)
 {
     _options           = options;
     _fileNameFormatter = fileNameFormatter;
 }