SettingsUnitSynchronizerSynchronizeOnStartAsync - метод

Performs a shallow synchronization of settings units when the application starts.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
public ValueTask<bool?> SynchronizeOnStartAsync(
	IReadOnlyCollection<SettingsUnitRecord> records,
	IReadOnlyCollection<SettingsUnitDescriptor> descriptors,
	IValidationResultBuilder validationResult,
	CancellationToken cancellationToken = default
)

Параметры

records  IReadOnlyCollectionSettingsUnitRecord
A collection of settings unit records to be synchronized.
descriptors  IReadOnlyCollectionSettingsUnitDescriptor
A collection of settings unit descriptors to be synchronized.
validationResult  IValidationResultBuilder
Объект, выполняющий построение результата валидации.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

ValueTaskNullableBoolean
If the value is , synchronization was not performed.
If the value is , synchronization completed successfully.
If the value is , an error occurred during synchronization.

Реализации

ISettingsUnitSynchronizerSynchronizeOnStartAsync(IReadOnlyCollectionSettingsUnitRecord, IReadOnlyCollectionSettingsUnitDescriptor, IValidationResultBuilder, CancellationToken)

См. также