/// <summary>Writes documentation for this cultivar by adding to the list of documentation tags.</summary> /// <param name="tags">The list of tags to add to.</param> /// <param name="headingLevel">The level (e.g. H2) of the headings.</param> /// <param name="indent">The level of indentation 1, 2, 3 etc.</param> public override void Document(List <AutoDocumentation.ITag> tags, int headingLevel, int indent) { if (IncludeInDocumentation) { // write description of this class. AutoDocumentation.DocumentModel(this, tags, headingLevel, indent); tree = Apsim.Child(this, typeof(TreeProxy)) as TreeProxy; tree.Document(tags, headingLevel, indent); } }
/// <summary>Writes documentation for this cultivar by adding to the list of documentation tags.</summary> /// <param name="tags">The list of tags to add to.</param> /// <param name="headingLevel">The level (e.g. H2) of the headings.</param> /// <param name="indent">The level of indentation 1, 2, 3 etc.</param> public override void Document(List <AutoDocumentation.ITag> tags, int headingLevel, int indent) { // need to put something here // add a heading. //tags.Add(new AutoDocumentation.Heading(Name, headingLevel)); // write description of this class. AutoDocumentation.GetClassDescription(this, tags, indent); tree = Apsim.Child(this, typeof(TreeProxy)) as TreeProxy; tree.Document(tags, headingLevel, indent); }
/// <summary>Writes documentation for this cultivar by adding to the list of documentation tags.</summary> /// <param name="tags">The list of tags to add to.</param> /// <param name="headingLevel">The level (e.g. H2) of the headings.</param> /// <param name="indent">The level of indentation 1, 2, 3 etc.</param> public override void Document(List<AutoDocumentation.ITag> tags, int headingLevel, int indent) { // need to put something here // add a heading. //tags.Add(new AutoDocumentation.Heading(Name, headingLevel)); // write description of this class. AutoDocumentation.GetClassDescription(this, tags, indent); tree = Apsim.Child(this, typeof(TreeProxy)) as TreeProxy; tree.Document(tags, headingLevel, indent); }