Documentation
Table of Contents

Method Combine

Namespace
IntentSharp.Documents
Assembly
IntentSharp.dll

Combine(IEnumerable<EditImpact>)

Combines the impacts of several validators of one edit: it loads cleanly only when every impact does, the problems and changes are concatenated in order, it widens security when any impact does, and the widened names are the union in order of first appearance (compared ordinally). No impacts combine to a clean impact; a caller that requires at least one validator checks that itself.

public static EditImpact Combine(IEnumerable<EditImpact> impacts)

Parameters

impacts IEnumerable<EditImpact>

The impacts to combine.

Returns

EditImpact

Exceptions

ArgumentNullException

impacts is null.

ArgumentException

impacts contains null.