C# Класс Cofoundry.Web.ITransationScopeExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
CompleteIfValidAsync ( ITransactionScope scope, ModelStateDictionary modelState ) : Task

Completes the transaction scope only if the modelState is valid, indicating that no handled or unhandled errors occurred udring execution.

Описание методов

CompleteIfValidAsync() публичный статический Метод

Completes the transaction scope only if the modelState is valid, indicating that no handled or unhandled errors occurred udring execution.
public static CompleteIfValidAsync ( ITransactionScope scope, ModelStateDictionary modelState ) : Task
scope ITransactionScope
modelState ModelStateDictionary /// The to check for validity, usually accessed via /// controller.ModelState or similar. ///
Результат Task