Suoranta.EnterpriseLib.Web - Developer API

UnitProcessor<(Of <(<'TArguments, TResult>)>)>..::..ProcessSet Method (IReadOnlyList<(Of <(<'TArguments>)>)>)

Process set

Namespace:  Suoranta.EnterpriseLib.Util.Net
Assembly:  Suoranta.EnterpriseLib (in Suoranta.EnterpriseLib.dll)

Syntax


protected void ProcessSet(
	IReadOnlyList<TArguments> set
)

Parameters

set
Type: IReadOnlyList<(Of <(<'TArguments>)>)>

Remarks


Unit of work methods should update SetResult according to unit of work outcomes

Examples


C#
foreach (TArguments id in set)
{
    var request = BuildRequest(id);
    var response = ApiService.PostAsync(request);
    base.ProcessResponseAsync(response);
}
Context.SaveChanges();