Class FileCopierCommon
Выполняет копирование групп файлов по заранее заданным правилам
Inheritance
object
FileCopierCommon
Namespace: BuildSystem.FileCopier.Common
Assembly: BuildSystem.Core.dll
Syntax
public class FileCopierCommon : Object, IFileCopier, IManager
Constructors
FileCopierCommon(ILogger?, FileCopierCommonProps)
Выполняет копирование групп файлов по заранее заданным правилам
Declaration
public FileCopierCommon(ILogger? logger, FileCopierCommonProps props)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
FileCopierCommonProps | props |
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "FileCopier.Common"
Field Value
Type | Description |
---|---|
string |
Properties
Logger
Declaration
public ILogger? Logger { get; }
Property Value
Type | Description |
---|---|
ILogger |
Props
Declaration
public IManagerProp Props { get; }
Property Value
Type | Description |
---|---|
IManagerProp |
Methods
Copy(List<string>, Dictionary<string, string>)
Copy files (from sourceMasks) according to rules in paths
Declaration
public Dictionary<string, string> Copy(List<string> sourceMasks, Dictionary<string, string> paths)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<><string> | sourceMasks | Masks of paths files which should be copied |
System.Collections.Generic.Dictionary<,><string, string> | paths | Rules of copying |
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<,><string, string> | Flag that everything is ok |