• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class GlossaryDocument

Represents the glossary document that stores Quick Parts and building blocks.

Inheritance
object
GlossaryDocument
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class GlossaryDocument

Constructors

GlossaryDocument()

Initializes an empty glossary document.

Declaration
public GlossaryDocument()

Properties

BuildingBlocks

Gets the ordered building-block collection.

Declaration
public BuildingBlockCollection BuildingBlocks { get; }
Property Value
Type Description
BuildingBlockCollection

Count

Gets the number of building blocks.

Declaration
public int Count { get; }
Property Value
Type Description
int

Methods

Add(BuildingBlock)

Adds a building block to the glossary.

Declaration
public BuildingBlock Add(BuildingBlock buildingBlock)
Parameters
Type Name Description
BuildingBlock buildingBlock

The building block to add.

Returns
Type Description
BuildingBlock

The added building block.

Clear()

Removes all building blocks.

Declaration
public void Clear()

FindByName(string)

Finds a building block by name.

Declaration
public BuildingBlock FindByName(string name)
Parameters
Type Name Description
string name

The building block name.

Returns
Type Description
BuildingBlock

The matching building block, or null.

Remove(BuildingBlock)

Removes a building block from the glossary.

Declaration
public bool Remove(BuildingBlock buildingBlock)
Parameters
Type Name Description
BuildingBlock buildingBlock

The building block to remove.

Returns
Type Description
bool

true when the item was removed.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX