Adds a new document registration in the list.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | registration is null |
| ArgumentException | a document with the same name has already been registered |
DocumentRegistrationCollection Class | Hevea.Core Namespace | DocumentRegistrationCollection.Add Overload List