/ Assembly List / LJCDocObjLib / DataRoot

Namespace - LJCDocObjLib


Syntax

C#
public class DataRoot

Represents the Root documentation data. (R)

Remarks

The root documentation contains the DataAssemblies collection of included DataAssembly elements. Each element contains the Doc deserialized documentation XML data.

Example

C#
var dataConfigName = "ConfigName";
  var dbServiceRef = new DbServiceRef()
  {
    DbDataAccess = new DbDataAccess(dataConfigName)
  };
  var managers = new ManagersDocGen();
  managers.SetDBProperties(dbServiceRef, dataConfigName);

  var assemblyGroupManager = managers.DocAssemblyGroupManager;
  var assemblyGroups = assemblyGroupManager.Load();

  // Creates the DataAssemblies collection with the deserialized
  // "Doc" XML converted to the "Data" XML format.
  DataRoot dataRoot = new DataRoot(assemblyGroups);

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.