GH_GlossaryItem

References
public class GH_GlossaryItem
Represents a single glossary entry in the Grasshopper help.

Properties

Author

#
Gets the author of this glossary entry. This field is optional and may not be defined.
public IGH_Content Author { get; }

Contact

#
Gets the contact information for the glossary entry author. This field is optional and may not be defined.
public IGH_Content Contact { get; }

Descriptions

#
Gets the description (definition) for this glossary entry.
public List<IGH_Content> Descriptions { get; }

Path

#
Gets the source file for this glossary entry.
public string Path { get; }

Pronunciation

#
Gets the pronunciation guide to the word. This field is optional and may not be defined.
public IGH_Content Pronunciation { get; }

Synonyms

#
Gets the synonyms for this glossary entry.
public ReadOnlyCollection<string> Synonyms { get; }

Word

#
Gets the word this glossary entry is about.
public string Word { get; }

Methods

ParseFile

#
Parse a *.glossary file and return a glossary entry.
public static GH_GlossaryItem ParseFile(
path
File to parse.
)
The glossary entry defined by the file. This function always returns a valid glossary or it throws an exception.