MigrationTask - конструктор
Пространство имён: Tessa.Extensions.Default.Console.MigrateFilesСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
public MigrationTask(
List<FileVersionInfo> versionInfoList,
CardFileSourceType fromSourceTypeID,
ICardContentStrategy fromSourceContentStrategy,
CardFileSourceType toSourceTypeID,
ICardContentStrategy toSourceContentStrategy,
IDbScope dbScope,
int[] completedCount,
int[] errorCount,
int taskIndex,
bool removeFromTargetFileSource,
Func<ValidationResult, Task> logResultActionAsync
)
Public Sub New (
versionInfoList As List(Of FileVersionInfo),
fromSourceTypeID As CardFileSourceType,
fromSourceContentStrategy As ICardContentStrategy,
toSourceTypeID As CardFileSourceType,
toSourceContentStrategy As ICardContentStrategy,
dbScope As IDbScope,
completedCount As Integer(),
errorCount As Integer(),
taskIndex As Integer,
removeFromTargetFileSource As Boolean,
logResultActionAsync As Func(Of ValidationResult, Task)
)
public:
MigrationTask(
List<FileVersionInfo^>^ versionInfoList,
CardFileSourceType fromSourceTypeID,
ICardContentStrategy^ fromSourceContentStrategy,
CardFileSourceType toSourceTypeID,
ICardContentStrategy^ toSourceContentStrategy,
IDbScope^ dbScope,
array<int>^ completedCount,
array<int>^ errorCount,
int taskIndex,
bool removeFromTargetFileSource,
Func<ValidationResult^, Task^>^ logResultActionAsync
)
new :
versionInfoList : List<FileVersionInfo> *
fromSourceTypeID : CardFileSourceType *
fromSourceContentStrategy : ICardContentStrategy *
toSourceTypeID : CardFileSourceType *
toSourceContentStrategy : ICardContentStrategy *
dbScope : IDbScope *
completedCount : int[] *
errorCount : int[] *
taskIndex : int *
removeFromTargetFileSource : bool *
logResultActionAsync : Func<ValidationResult, Task> -> MigrationTask
Параметры
- versionInfoList ListFileVersionInfo
-
- fromSourceTypeID CardFileSourceType
-
- fromSourceContentStrategy ICardContentStrategy
-
- toSourceTypeID CardFileSourceType
-
- toSourceContentStrategy ICardContentStrategy
-
- dbScope IDbScope
-
- completedCount Int32
-
- errorCount Int32
-
- taskIndex Int32
-
- removeFromTargetFileSource Boolean
-
- logResultActionAsync FuncValidationResult, Task
-