HotDocs.Server.DependencyCollection Class

This object represents a collection of Dependency objects, which are required by a given template. This collection may be accessed through the TemplateInfo object.

Namespace: HotDocs.Server
Assembly: HotDocs.Server in HotDocs.Server.dll

This class implements the following interfaces:

  • IDisposable: The class can be disposed.

  • IEnumerable: The class can be enumerated.

  • IList: The class is a list of Dependency objects.

Methods

Method Description
CopyTo Copy Dependency objects from the DependencyCollection to an array.
Dispose This method is an implementation of the IDisposable.Dispose method that releases unmanaged resources held by an instance of the ComponentProperties class.
GetEnumerator This method returns an IEnumerator, which you can use to iterate through all dependencies in the collection.

Properties

Property Description
Count [Read-only] This property returns the number of dependencies in the collection.
IsReadOnly [Read-only] This property is non-zero if the DependencyCollection is read-only.
Item This property returns a specific Dependency object from the collection.