graphNode Class |
Namespace: imbSCI.Data.collection.graph
The graphNode type exposes the following members.
| Name | Description | |
|---|---|---|
| forTreeview |
Name format used for textual tree view representation
| |
| isLeaf |
Gets a value indicating whether this instance is leaf.
(Inherited from graphNodeBase.) | |
| Item |
Gets or sets the IGraphNode with the specified key.
(Overrides graphNodeBaseItemString.) | |
| level |
Gets the depth level, where 1 is the root
(Inherited from graphNodeBase.) | |
| name |
Ime koje je dodeljeno objektu
(Inherited from graphNodeBase.) | |
| parent |
Referenca prema parent objektu
(Inherited from graphNodeBase.) | |
| path |
Putanja objekta
(Inherited from graphNodeBase.) | |
| pathSeparator |
Gets the path separator used in this path format - if its not set it will look for parent's default path separator to set it. If there is no parent, it will use defaultPathSeparator (Inherited from graphNodeBase.) | |
| root |
Gets the root.
(Inherited from graphNodeBase.) |
| Name | Description | |
|---|---|---|
| Add |
Adds the specified newChild, if its name is not already occupied
(Overrides graphNodeBaseAdd(IGraphNode).) | |
| ContainsKey |
Determines whether the specified key contains key.
(Inherited from graphNodeBase.) | |
| Count | (Inherited from graphNodeBase.) | |
| getChildNames |
Gets the child names.
(Inherited from graphNodeBase.) | |
| GetEnumerator |
Gets the enumerator.
(Inherited from graphNodeBase.) | |
| getFirst |
Gets the first.
(Inherited from graphNodeBase.) | |
| Remove(IEnumerableString) |
Removes all children with matching [!:graphNode.name] (Inherited from graphNodeBase.) | |
| Remove(String) |
Removes by the key specified
(Inherited from graphNodeBase.) | |
| RemoveByKey |
Removes child matching the specified key, on no match returns false (Inherited from graphNodeBase.) |
| Name | Description | |
|---|---|---|
| BuildDataShema |
Builds the data table.
(Defined by PropertyDataStructureTools.) | |
| buildDataTable(String, Boolean, Boolean, PropertyCollectionExtended, String) | Overloaded.
2017::Builds data table out of collection. Supported properties: primitives, enums and IGetFromToString interface types
(Defined by DataTableBuilders.) | |
| buildDataTable(String, DataTableBuildersbuildDataTableOptions, PropertyCollectionExtended, String, ILogBuilder) | Overloaded.
2017:: Builds horizontal data table with columns mapping properties of the type.
(Defined by DataTableBuilders.) | |
| buildDataTable(String, Boolean, Boolean, Boolean, PropertyCollectionExtended, String) | Overloaded.
Builds the horizontal data table
(Defined by DataTableBuilders.) | |
| BuildDataTableHorizontal |
Builds the data table using reflection and selected columns. Supports formating instruction, expression and other advanced atributes
(Defined by PropertyDataStructureTools.) | |
| buildDataTableVerticalSummaryTable |
Builds the vertical table with all data
(Defined by DataTableBuilders.) | |
| buildPCE | (Defined by imbPropertyCollectionExtensions.) | |
| buildPropertyCollectionT |
Create or update property collection out of object properties
(Defined by imbPropertyCollectionExtensions.) | |
| buildPropertyCollectionList |
Builds the property collection list from IEnumerable source collection
(Defined by imbPropertyCollectionExtensions.) | |
| changeValueAsInt32 |
Changes the value as int32.
(Defined by imbValueChangers.) | |
| changeValueDouble |
Step je 0.01
(Defined by imbValueChangers.) | |
| ConstructTableWithRandomContent |
Constructs the data table and populates with random content of the table with.
(Defined by imbDataTableExtensions.) | |
| ConvertListIGraphNode, TTarget | Overloaded. (Defined by collectionExtensions.) | |
| ConvertListIObjectWithPathAndChildren, TTarget | Overloaded. (Defined by collectionExtensions.) | |
| ConvertToDGML | (Defined by GraphConversionTools.) | |
| ConvertToFreeGraph |
Converts to free graph -- from the specified node to its leafs (downwards)
(Defined by GraphConversionTools.) | |
| ConvertToListTTarget | (Defined by collectionExtensions.) | |
| count |
Universal counting
(Defined by collectionExtensions.) | |
| CreateNestedDataTableIGraphNode, TInner(String) | Overloaded.
Creates the nested data table. http://stackoverflow.com/questions/33823820/convert-generic-nested-list-to-datatable
(Defined by DataTableETL.) | |
| CreateNestedDataTableIObjectWithPathAndChildren, TInner(String) | Overloaded. (Defined by DataTableETL.) | |
| GetAggregatesIGraphNode(dataPointAggregationType, Boolean) | Overloaded.
Gets aggregated version of the objects
(Defined by collectionAggregation.) | |
| GetAggregatesIObjectWithPathAndChildren(dataPointAggregationType, Boolean) | Overloaded. (Defined by collectionAggregation.) | |
| getAllChildren |
Gets all children. If pathFilder defined, it uses it to select only children with appropriate path
(Defined by imbGraphExtensions.) | |
| getAllEnums |
Gathers all enumerations found in the collection
(Defined by collectionExtensions.) | |
| getAllLeafs |
Gets all leafs, optionally applies Regex criteria used to child name [[[doesn't work]]]
(Defined by imbGraphExtensions.) | |
| getAllOfTypeT |
Gets the first instance of type in supplied collection. makeNewIfNotFound (Defined by collectionExtensions.) | |
| GetAllRootsIGraphNode |
Gets all roots.
(Defined by graphTools.) | |
| GetChartDataTableIGraphNode(FuncIGraphNode, String, FuncIGraphNode, Double, String) | Overloaded.
Makes data table for chart
(Defined by UniversalGenerators.) | |
| GetChartDataTableIObjectWithPathAndChildren(FuncIObjectWithPathAndChildren, String, FuncIObjectWithPathAndChildren, Double, String) | Overloaded. (Defined by UniversalGenerators.) | |
| GetCrossSectionIGraphNode(IListIGraphNode) | Overloaded.
Gets the cross section: only items that are in common to all collections
(Defined by collectionExtensions.) | |
| GetCrossSectionIObjectWithPathAndChildren(IListIObjectWithPathAndChildren) | Overloaded. (Defined by collectionExtensions.) | |
| getDataTypeSafe |
V3.5> Experimentalna funkcija - na osnovu tipa vrsi konverziju
(Defined by imbStringCommonTools.) | |
| getDeepest |
Gets the deepest.
(Defined by imbGraphExtensions.) | |
| GetDefaultValueT |
Vraca tipiziranu podrazumevanu vrednost
(Defined by imbTypologyHelpers.) | |
| getDescriptionForDictionary |
Gets the description for dictionary, property table etc
(Defined by settingsEntriesInfoModelApi.) | |
| getDictionaryFromMappedSource |
Vraca recnik sa vrednostima iz objekta.
(Defined by propertyMappingTools.) | |
| GetDifferenceIGraphNode(IListIGraphNode) | Overloaded. (Defined by collectionExtensions.) | |
| GetDifferenceIObjectWithPathAndChildren(IListIObjectWithPathAndChildren) | Overloaded. (Defined by collectionExtensions.) | |
| getEnumMemberPath |
Vraca enum member path koji moze da se koristi za preuzimanje enumeracije i njenog tipa
(Defined by imbEnumExtendBase.) | |
| GetExpressionResolved |
Resolves the specified expresion path, having host as starting node
(Defined by PropertyExpressionTools.) | |
| getFilterOut |
Filters out the collection by path regex, nameRegex is optional AND criterion
(Defined by imbGraphExtensions.) | |
| GetFirstNodeWithLeafsIGraphNode |
Iterative procedure, returning graphNodeSetCollection with graphNodeSets rooted at node that has leafs (all or min) with leafNames (Defined by graphTools.) | |
| getFirstOfTypeT |
Gets the first instance that is compatibile with T in supplied collection. Supports PropertyCollection and other collections
(Defined by collectionExtensions.) | |
| getFirstSafe |
Gets the first safe.
(Defined by collectionExtensions.) | |
| getFlatArrayT | (Defined by collectionExtensions.) | |
| getFlatListT | (Defined by collectionExtensions.) | |
| GetHistogramModelIGraphNode(String, FuncIGraphNode, Double, Int32) | Overloaded. (Defined by histogramModelExtensions.) | |
| GetHistogramModelIObjectWithPathAndChildren(String, FuncIObjectWithPathAndChildren, Double, Int32) | Overloaded. (Defined by histogramModelExtensions.) | |
| getOnLevel |
Gets the on level.
(Defined by imbGraphExtensions.) | |
| getParentOfLevel |
Gets the parent of target element level or root if reached
(Defined by imbGraphExtensions.) | |
| getParentOrRoot |
Gets a member from parent-chain: a) Nth parent according to limit. b) parent on targetPath, c) parent of target type or simply d) root if no more parents.
(Defined by imbGraphExtensions.) | |
| GetParentsIGraphNode |
Gets first level parents of the source collection
(Defined by graphTools.) | |
| getParentsViaExtension |
Gets all parents. Prevents loop inherence.
(Defined by imbGraphExtensions.) | |
| getPathForObject |
2014c: Univerzalni konstruktor putanje
(Defined by resourcePathGenerator.) | |
| getPathForObjectAndParent |
Univerzalni konstruktor putanje za bilo koji tip i parent
(Defined by resourcePathGenerator.) | |
| getPathForObjectWithParent |
konstruise Path string za prosledjeni objekat
(Defined by resourcePathGenerator.) | |
| getPathForProperty |
Vraca putanju za property
(Defined by resourcePathGenerator.) | |
| getPathFromObject |
Gets the path from object - just casting trick
(Defined by imbGraphExtensions.) | |
| getPathToParent |
Relative path to memeber in parent chain
(Defined by imbGraphExtensions.) | |
| getPathViaExtension |
Gets the path string - including source at end of the path
(Defined by imbGraphExtensions.) | |
| getProperty |
Retrieves PropertyInfo found on path specified
(Defined by imbTypeQueryExtensions.) | |
| getSPEC | (Defined by imbTypeQueryExtensions.) | |
| getStringValue |
2013a> bezbedno vraca string verziju prosledjene vrednosti - Kreira stringValue
(Defined by imbDataExecutor.) | |
| GetSVGChartIGraphNode(FuncIGraphNode, String, FuncIGraphNode, Double, Boolean, Boolean, Int16) | Overloaded. (Defined by UniversalGenerators.) | |
| GetSVGChartIObjectWithPathAndChildren(FuncIObjectWithPathAndChildren, String, FuncIObjectWithPathAndChildren, Double, Boolean, Boolean, Int16) | Overloaded. (Defined by UniversalGenerators.) | |
| GetSVGPieChartIGraphNode(FuncIGraphNode, String, FuncIGraphNode, Double, Boolean, Boolean) | Overloaded.
Gets the SVG pie or doughnut chart.
(Defined by UniversalGenerators.) | |
| GetSVGPieChartIObjectWithPathAndChildren(FuncIObjectWithPathAndChildren, String, FuncIObjectWithPathAndChildren, Double, Boolean, Boolean) | Overloaded. (Defined by UniversalGenerators.) | |
| GetTrendIGraphNode(FuncIGraphNode, Double, measureTrendTaker, TimeSpan) | Overloaded.
Gets the trend from set of objects
(Defined by measureTrendTools.) | |
| GetTrendIObjectWithPathAndChildren(FuncIObjectWithPathAndChildren, Double, measureTrendTaker, TimeSpan) | Overloaded. (Defined by measureTrendTools.) | |
| GetUnionIGraphNode(IListIGraphNode) | Overloaded. (Defined by collectionExtensions.) | |
| GetUnionIObjectWithPathAndChildren(IListIObjectWithPathAndChildren) | Overloaded. (Defined by collectionExtensions.) | |
| GetUserManual |
Generates property manual
(Defined by settingsEntriesTools.) | |
| GetUserManualSaved |
Gets the user manual saved:
(Defined by settingsEntriesTools.) | |
| getValuesFromMappedSource | (Defined by propertyMappingTools.) | |
| imbAttributeToProperties |
Prebacuje vrednost iz atributa u propertije - u skladu sa podesenim mapiranjem (imbAttributeName.metaValueFromAttribute)
(Defined by imbAttributeTools.) | |
| imbConvertValueSafe |
2014c> bezbedna konverzija vrednosti
(Defined by imbTypeExtensions.) | |
| imbConvertValueSafeTypedT | (Defined by imbTypeExtensions.) | |
| imbFirstOrMoreIGraphNode(FuncIGraphNode, Boolean) | Overloaded.
Vraca jedan ili vise resursa koji ispunjavaju uslov
(Defined by collectionExtensions.) | |
| imbFirstOrMoreIObjectWithPathAndChildren(FuncIObjectWithPathAndChildren, Boolean) | Overloaded. (Defined by collectionExtensions.) | |
| imbFirstSafe(Int32) | Overloaded.
Imbs the first safe.
(Defined by collectionExtensions.) | |
| imbFirstSafeIGraphNode(Int32) | Overloaded.
Proverava uslov
(Defined by collectionExtensions.) | |
| imbFirstSafeIObjectWithPathAndChildren(Int32) | Overloaded. (Defined by collectionExtensions.) | |
| imbFirstSafeIGraphNode(FuncIGraphNode, Boolean) | Overloaded.
Proverava uslov
(Defined by collectionExtensions.) | |
| imbFirstSafeIObjectWithPathAndChildren(FuncIObjectWithPathAndChildren, Boolean) | Overloaded. (Defined by collectionExtensions.) | |
| imbGetAllProperties |
Vraca sve propertije iz objekta koji su Public i Instance. Vraca i nasledjene propertije ali ako su pregazeni onda vraca samo najnoviji
(Defined by imbTypologyPropertyGetSet.) | |
| imbGetAllValues |
Vraca sve vrednosti iz svih propertija koji su Public i Instance
(Defined by imbTypologyPropertyGetSet.) | |
| imbGetCodeMark | (Defined by imbStringExtensions.) | |
| imbGetIndexOf |
Gets index of item in an unknown enumeration
(Defined by collectionExtensions.) | |
| imbGetItemAt |
Universal method for getting element out of unknown IEnumerable (Defined by collectionExtensions.) | |
| imbGetPropertySafe(String, Object, String) | Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.) | |
| imbGetPropertySafe(PropertyInfo, Object, Boolean, Object) | Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.) | |
| imbGetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean) | Overloaded. (Defined by imbTypologyPropertyGetSet.) | |
| imbGetPropertySafeT(PropertyInfo) | Overloaded.
2014:Maj - uzima property i odmah vrsi bezbednu konverziju!
(Defined by imbTypologyPropertyGetSet.) | |
| imbLastSafeIGraphNode(Int32) | Overloaded.
Imbs the last safe.
(Defined by collectionExtensions.) | |
| imbLastSafeIObjectWithPathAndChildren(Int32) | Overloaded. (Defined by collectionExtensions.) | |
| imbPropertyToString |
Sigurno iscitavanje stringa
(Defined by imbTypologyPropertyGetSet.) | |
| imbSetPropertyConvertSafe |
Algoritam sa konverzijom koja podrzava i Collection objekta koji imaju Add method.
(Defined by imbTypologyPropertyGetSet.) | |
| imbSetPropertySafe(String, Object, Boolean, Object, Boolean) | Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.) | |
| imbSetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean) | Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.) | |
| imbToBoolean |
Konvertuje bilo koju vrednost u Boolean
(Defined by imbTypeExtensions.) | |
| imbToEnumeration(Type, Enum) | Overloaded.
Convers an value to the best fit Enumeration member
(Defined by imbTypeEnumExtensions.) | |
| imbToEnumerationT | Overloaded. (Defined by imbTypeEnumExtensions.) | |
| imbToInstance |
Konvertuje u potrebni tip. Ukoliko postoji konstruktor sa parametrom koji je IsInstanceOfType(input) onda ce koristit njega
(Defined by imbTypeExtensions.) | |
| imbToNumber(Type) | Overloaded.
Konvertuje u broj prema zadatom tipu
(Defined by imbTypeExtensions.) | |
| imbToNumberT(Type) | Overloaded. (Defined by imbTypeExtensions.) | |
| isCoreColumn | (Defined by PropertyEntryColumnExtensions.) | |
| isNullOrEmpty | Overloaded.
Proverava da li je kolekcija null ili bez clanova
(Defined by collectionExtensions.) | |
| isNullOrEmpty | Overloaded. (Defined by imbSciStringExtensions.) | |
| isNullOrEmptyString |
Proverava da li je input null, ako je string onda ga proverava kao string ako je neki drugi objekat onda ga predvara u string pa proverava
(Defined by imbSciStringExtensions.) | |
| keyToString | (Defined by imbPropertyCollectionExtensions.) | |
| MakeUniqueChildName |
Makes the unique name for a child, based on proposal and counter, formatted by limit digit width: e.g. if limit is 100, format is: D3, producing: proposal+001, +002, +003...
(Defined by graphTools.) | |
| markdownList |
Creates list from collection of [strings, IEnumerable or Objects]
(Defined by imbStringMarkdownExtensions.) | |
| MergeWith |
Graph node graphToMerge transfers all child nodes to graphToMergeWith and disconnects from its parent
(Defined by graphTools.) | |
| MoveTo |
Moves to new parent node moveInto (Defined by graphTools.) | |
| RandomizeToListIGraphNode | Overloaded.
Returns a new list where the elements are randomly shuffled.
Based on the Fisher-Yates shuffle, which has O(n) complexity.
(Defined by collectionExtensions.) | |
| RandomizeToListIObjectWithPathAndChildren | Overloaded. (Defined by collectionExtensions.) | |
| removeFromParent |
Removes all children from parent nodes
(Defined by imbGraphExtensions.) | |
| renderToTemplate |
Vraca string koji definise placeholder u template stringu
(Defined by stringTemplateTools.) | |
| resolvePath(String, pathResolveFlag) | Overloaded.
Najčešće korišćen metod za upit nad putanjom i objektom
(Defined by resourcePathResolver.) | |
| resolvePathT(String, pathResolveFlag) | Overloaded. (Defined by resourcePathResolver.) | |
| RetreatToParent |
If the graph target has parent, it will move to its level (one level closer to the root)
(Defined by graphTools.) | |
| saveObjectToXML | (Defined by objectSerialization.) | |
| setObjectByMappedSource |
Primenjuje prosledjenu property mapu
(Defined by propertyMappingTools.) | |
| setObjectBySource |
Sets the object by source.
(Defined by imbTypeObjectOperations.) | |
| setObjectValueTypesBySource |
Sets the object by source, but only ValueTypes and string and only properties declared at top inherence level. Returns dictionary with updated properties (only if value changed)
(Defined by imbTypeObjectOperations.) | |
| setValuesToMappedTarget |
Postavlja vednosti iz recnika u dati ciljani objekat - da bi bilo kompatibilno niz mora biti u istom rasporedu kao i u property mapu
(Defined by propertyMappingTools.) | |
| sumValues |
Supports> String, Int32, any number via Double and Boolean
(Defined by imbTypeExtensions.) | |
| takeFirstFromListIGraphNode(IGraphNode) | Overloaded.
Vraca prvi element koji je pronadjen u ulaznom skupu - default vraca prvi element matchList
(Defined by collectionExtensions.) | |
| takeFirstFromListIObjectWithPathAndChildren(IObjectWithPathAndChildren) | Overloaded. (Defined by collectionExtensions.) | |
| takeFirstFromListIGraphNode(IEnumerableIGraphNode, IGraphNode) | Overloaded.
Vraca prvi objekat koji se nalazi i u ovom skupu i u matchList skupu
(Defined by collectionExtensions.) | |
| takeFirstFromListIObjectWithPathAndChildren(IEnumerableIObjectWithPathAndChildren, IObjectWithPathAndChildren) | Overloaded. (Defined by collectionExtensions.) | |
| textList |
Creates list from collection of [strings, IEnumerable or Objects]
(Defined by imbStringTextExtensions.) | |
| toCsvFileIGraphNode(String, getWritableFileMode) | Overloaded.
2017: Saves CSV to file from path
(Defined by csvFileExtensions.) | |
| toCsvFileIObjectWithPathAndChildren(String, getWritableFileMode) | Overloaded. (Defined by csvFileExtensions.) | |
| toCsvInLine |
Renders CSV line from [!:object.toStringSafe()], [!:separator] is removed from item String
(Defined by imbDataExtensions.) | |
| toExpressionString |
Returns expression-ready string, wrapped in proper quotes if required
(Defined by imbStringFormats.) | |
| toListIGraphNode | Overloaded.
Konvertuje niz u listu
(Defined by collectionExtensions.) | |
| toListIObjectWithPathAndChildren | Overloaded. (Defined by collectionExtensions.) | |
| toStringSafe | Overloaded. (Defined by imbStringFormats.) | |
| toStringSafe(String) | Overloaded. (Defined by imbStringFormats.) | |
| toStringSafe(String, String) | Overloaded.
Bezbedna konverzija u String -- ako je null onda valueForNull
(Defined by imbStringFormats.) |