/// <summary> /// Gets the information about data type design outputs. /// </summary> /// <param name="iModelNodeAdvance">The i model node advance.</param> /// <param name="tbls">The table structure.</param> private static void GetInformationAboutDataTypeDesignParameters(IModelNodeAdvance iModelNodeAdvance, TableStructure tbls) { foreach (IModelNodeAdvance argument in GetFolder(iModelNodeAdvance, FolderType.Fields)) { Dictionary <string, string> row = GetDocumentation(argument.Wrapper4PropertyGrid); tbls.AddRow(row); } }
/// <summary> /// Gets the information about variable type children. /// </summary> /// <param name="iModelNodeAdvance">The i model node advance.</param> /// <param name="tbls">The TBLS.</param> private static void GetInformationAboutVariableTypeChildren(IModelNodeAdvance iModelNodeAdvance, TableStructure tbls) { List <List <string> > allTableRows = new List <List <string> >(); foreach (IModelNodeAdvance imna in GetFolder(iModelNodeAdvance, FolderType.Children)) { Dictionary <string, string> row = GetDocumentation(imna.Wrapper4PropertyGrid); row.Add(referenceString, hasPropertyString); row.Add(nodeClassString, imna.NodeClass.ToString()); tbls.AddRow(row); } }
/// <summary> /// Gets the information about references. /// </summary> /// <param name="iModelNodeAdvance">The i model node advance.</param> /// <param name="tbls">The TBLS.</param> private static void GetInformationAboutReferences(IModelNodeAdvance iModelNodeAdvance, TableStructure tbls) { IEnumerable <IModelNodeAdvance> rf = GetFolder(iModelNodeAdvance, FolderType.References); if (rf != null) { foreach (IModelNodeAdvance referenceFromTheReferencesFolder in rf) { Dictionary <string, string> row = GetDocumentation(referenceFromTheReferencesFolder.Wrapper4PropertyGrid); tbls.AddRow(row); } } }
/// <summary> /// Gets the information about method design inputs or outputs. /// </summary> /// <param name="iModelNodeAdvance">The i model node advance.</param> /// <param name="tbls">The TBLS.</param> private static void GetInformationAboutMethodDesignInputsOrOutputs(IModelNodeAdvance iModelNodeAdvance, TableStructure tbls, FolderType ft) { List <List <string> > allTableRows = new List <List <string> >(); IEnumerable <IModelNodeAdvance> pf = null; pf = GetFolder(iModelNodeAdvance, ft); if (pf != null) { foreach (IModelNodeAdvance argument in pf) { Dictionary <string, string> row = GetDocumentation(argument.Wrapper4PropertyGrid); tbls.AddRow(row); } } }
/// <summary> /// Gets the information about children. /// </summary> /// <param name="iModelNodeAdvance">The i model node advance.</param> /// <param name="tbls">The table structure.</param> private static void GetInformationAboutChildren(IModelNodeAdvance iModelNodeAdvance, TableStructure tbls) { List <List <string> > allTableRows = new List <List <string> >(); IEnumerable <IModelNodeAdvance> folder = GetFolder(iModelNodeAdvance, FolderType.Children); if (folder != null) { foreach (IModelNodeAdvance imna in folder) { Dictionary <string, string> row = GetDocumentation(imna.Wrapper4PropertyGrid); if (imna.NodeClass == NodeClassesEnum.Property) { row.Add(referenceString, hasPropertyString); } else { row.Add(referenceString, hasComponentString); } row.Add(nodeClassString, imna.NodeClass.ToString()); tbls.AddRow(row); } } }