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
impactsIEnumerable<EditImpact>The impacts to combine.
Returns
Exceptions
- ArgumentNullException
impactsis null.- ArgumentException
impactscontains null.