ISmartMergerTMergeObjectMergeAsync - метод
Логика умного слияния
Пространство имён: Tessa.SmartMergeСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
ValueTask<IMergeResult<TMergeObject>> MergeAsync(
TMergeObject source,
TMergeObject destination,
IMergeOptions options = null,
ILogger logger = null,
CancellationToken cancellationToken = default
)
Function MergeAsync (
source As TMergeObject,
destination As TMergeObject,
Optional options As IMergeOptions = Nothing,
Optional logger As ILogger = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IMergeResult(Of TMergeObject))
ValueTask<IMergeResult<TMergeObject>^> MergeAsync(
TMergeObject source,
TMergeObject destination,
IMergeOptions^ options = nullptr,
ILogger^ logger = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract MergeAsync :
source : 'TMergeObject *
destination : 'TMergeObject *
?options : IMergeOptions *
?logger : ILogger *
?cancellationToken : CancellationToken
(* Defaults:
let _options = defaultArg options null
let _logger = defaultArg logger null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IMergeResult<'TMergeObject>>
- source TMergeObject
- Объект-источник слияния
- destination TMergeObject
- Объект-"приемник" слияния
- options IMergeOptions (Optional)
- Параметры слияния
- logger ILogger (Optional)
- cancellationToken CancellationToken (Optional)
ValueTaskIMergeResultTMergeObjectРезультат слияния двух объектов