GH_GlossaryItem

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

Properties

Author

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

Contact

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

Descriptions

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

Path

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

Pronunciation

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

Synonyms

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

Word

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

Methods

ParseFile

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