nspectre - declarative validation for .NET

ActionCollection.Add Method 

Adds a Action to the collection.

public void Add(
   string key,
   Action value
);

Parameters

key
The key.
value
The Action.

See Also

ActionCollection Class | NSpectre.Core.Configuration Namespace