Click or drag to resize

PropertyExpression Class

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Graph-tree structure providing access to simple-type (string, numbers, boolean, enums) values (get/set/describe) properties of complex objects
Inheritance Hierarchy

Namespace:  imbSCI.Core.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public class PropertyExpression : graphNode
Request Example View Source

The PropertyExpression type exposes the following members.

Constructors
  NameDescription
Public methodPropertyExpression
Initializes a new instance of the PropertyExpression class
Public methodPropertyExpression(IDictionary, String, PropertyExpression)
Adds sub PropertyExpression for property inside IList
Public methodPropertyExpression(IList, Int32, PropertyExpression)
Adds sub PropertyExpression for property inside IList
Public methodPropertyExpression(Object, String, PropertyExpression)
Initializes a new instance of the PropertyExpression class
Public methodPropertyExpression(Object, String, Int32, Boolean, Boolean)
Creates root expression - cannot set value directy, used for expression tree building
Top
Properties
  NameDescription
Public propertyforTreeview
Name format used for textual tree view representation
(Inherited from graphNode.)
Public propertyhost
Host instance at this expression node
Public propertyhostType
Type of the host instance at this expression node
Public propertyisInsideDictionary
Public propertyisInsideList
Public propertyisLeaf
Gets a value indicating whether this instance is leaf.
(Inherited from graphNodeBase.)
Public propertyIsReady
Gets a value indicating whether this instance is ready for reading value
Public propertyIsWritable
Gets a value indicating whether this instance is writable.
Public propertyItem
Gets or sets the IGraphNode with the specified key.
(Inherited from graphNode.)
Public propertyLeaf
Opposite to root -- the last child
Public propertylevel
Gets the depth level, where 1 is the root
(Inherited from graphNodeBase.)
Public propertyname (Overrides graphNodeBasename.)
Public propertyparent
Referenca prema parent objektu
(Inherited from graphNodeBase.)
Public propertyparentExpression
Parent expression node
Public propertypath
Putanja objekta
(Inherited from graphNodeBase.)
Public propertypathSeparator
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.)
Public propertyproperty
Property information about this expression node
Public propertyroot
Gets the root.
(Inherited from graphNodeBase.)
Public propertystate
State of this expression node, indicating if it was solved or not
Public propertyundesolvedPart
Part of the expression path that left unresolved
Public propertyvalueType
Type of the value that is pointed by property expression
Top
Methods
  NameDescription
Public methodAdd(IGraphNode)
Adds the specified newChild, if its name is not already occupied
(Inherited from graphNode.)
Public methodAdd(String, Object)
Includes new property in the tree
Public methodContainsKey
Determines whether the specified key contains key.
(Inherited from graphNodeBase.)
Public methodCount (Inherited from graphNodeBase.)
Public methodExpand
Expands this property expression with sub properties, until specified maxDepthlevel
Public methodgetChildNames
Gets the child names.
(Inherited from graphNodeBase.)
Public methodGetEnumerator
Gets the enumerator.
(Inherited from graphNodeBase.)
Public methodgetFirst
Gets the first.
(Inherited from graphNodeBase.)
Public methodgetTypedValueT
Public methodgetValue
Gets the value at this expression node
Public methodRemove(IEnumerableString)
Removes all children with matching [!:graphNode.name]
(Inherited from graphNodeBase.)
Public methodRemove(String)
Removes by the key specified
(Inherited from graphNodeBase.)
Public methodRemoveByKey
Removes child matching the specified key, on no match returns false
(Inherited from graphNodeBase.)
Public methodsetTypedValueT
Public methodsetValue
Sets the value at this expression node
Top
Fields
  NameDescription
Public fieldStatic memberPATH_SPLITER
Top
Extension Methods
  NameDescription
Public Extension MethodBuildDataShema
Builds the data table.
(Defined by PropertyDataStructureTools.)
Public Extension MethodbuildDataTable(String, DataTableBuildersbuildDataTableOptions, PropertyCollectionExtended, String, ILogBuilder)Overloaded.
2017:: Builds horizontal data table with columns mapping properties of the type.
(Defined by DataTableBuilders.)
Public Extension MethodbuildDataTable(String, Boolean, Boolean, Boolean, PropertyCollectionExtended, String)Overloaded.
Builds the horizontal data table
(Defined by DataTableBuilders.)
Public Extension MethodbuildDataTableVerticalSummaryTable
Builds the vertical table with all data
(Defined by DataTableBuilders.)
Public Extension MethodbuildPCE
Public Extension MethodbuildPropertyCollectionT
Create or update property collection out of object properties
(Defined by imbPropertyCollectionExtensions.)
Public Extension MethodchangeValueAsInt32
Changes the value as int32.
(Defined by imbValueChangers.)
Public Extension MethodchangeValueDouble
Step je 0.01
(Defined by imbValueChangers.)
Public Extension MethodConstructTableWithRandomContent
Constructs the data table and populates with random content of the table with.
(Defined by imbDataTableExtensions.)
Public Extension MethodConvertToDGML(Int32)Overloaded. (Defined by GraphConversionTools.)
Public Extension MethodConvertToDGML(Int32)Overloaded. (Defined by GraphConversionTools.)
Public Extension MethodConvertToFreeGraph
Converts to free graph -- from the specified node to its leafs (downwards)
(Defined by GraphConversionTools.)
Public Extension MethodgetDataTypeSafe
V3.5> Experimentalna funkcija - na osnovu tipa vrsi konverziju
(Defined by imbStringCommonTools.)
Public Extension MethodGetDefaultValueT
Vraca tipiziranu podrazumevanu vrednost
(Defined by imbTypologyHelpers.)
Public Extension MethodgetDescriptionForDictionary
Gets the description for dictionary, property table etc
(Defined by settingsEntriesInfoModelApi.)
Public Extension MethodgetDictionaryFromMappedSource
Vraca recnik sa vrednostima iz objekta.
(Defined by propertyMappingTools.)
Public Extension MethodgetEnumMemberPath
Vraca enum member path koji moze da se koristi za preuzimanje enumeracije i njenog tipa
(Defined by imbEnumExtendBase.)
Public Extension MethodGetExpressionResolved
Resolves the specified expresion path, having host as starting node
(Defined by PropertyExpressionTools.)
Public Extension MethodgetPathForObject
2014c: Univerzalni konstruktor putanje
(Defined by resourcePathGenerator.)
Public Extension MethodgetPathForObjectAndParent
Univerzalni konstruktor putanje za bilo koji tip i parent
(Defined by resourcePathGenerator.)
Public Extension MethodgetProperty
Retrieves PropertyInfo found on path specified
(Defined by imbTypeQueryExtensions.)
Public Extension MethodgetSPEC (Defined by imbTypeQueryExtensions.)
Public Extension MethodgetStringValue
2013a> bezbedno vraca string verziju prosledjene vrednosti - Kreira stringValue
(Defined by imbDataExecutor.)
Public Extension MethodGetUserManual
Generates property manual
(Defined by settingsEntriesTools.)
Public Extension MethodGetUserManualSaved
Gets the user manual saved:
(Defined by settingsEntriesTools.)
Public Extension MethodgetValuesFromMappedSource (Defined by propertyMappingTools.)
Public Extension MethodimbAttributeToProperties
Prebacuje vrednost iz atributa u propertije - u skladu sa podesenim mapiranjem (imbAttributeName.metaValueFromAttribute)
(Defined by imbAttributeTools.)
Public Extension MethodimbConvertValueSafe
2014c> bezbedna konverzija vrednosti
(Defined by imbTypeExtensions.)
Public Extension MethodimbConvertValueSafeTypedT (Defined by imbTypeExtensions.)
Public Extension MethodimbGetAllProperties
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.)
Public Extension MethodimbGetAllValues
Vraca sve vrednosti iz svih propertija koji su Public i Instance
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetCodeMark (Defined by imbStringExtensions.)
Public Extension MethodimbGetPropertySafe(String, Object, String)Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafe(PropertyInfo, Object, Boolean, Object)Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean)Overloaded. (Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafeT(PropertyInfo)Overloaded.
2014:Maj - uzima property i odmah vrsi bezbednu konverziju!
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbPropertyToString
Sigurno iscitavanje stringa
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertyConvertSafe
Algoritam sa konverzijom koja podrzava i Collection objekta koji imaju Add method.
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertySafe(String, Object, Boolean, Object, Boolean)Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean)Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbToBoolean
Konvertuje bilo koju vrednost u Boolean
(Defined by imbTypeExtensions.)
Public Extension MethodimbToEnumeration(Type, Enum)Overloaded.
Convers an value to the best fit Enumeration member
(Defined by imbTypeEnumExtensions.)
Public Extension MethodimbToEnumerationTOverloaded. (Defined by imbTypeEnumExtensions.)
Public Extension MethodimbToInstance
Konvertuje u potrebni tip. Ukoliko postoji konstruktor sa parametrom koji je IsInstanceOfType(input) onda ce koristit njega
(Defined by imbTypeExtensions.)
Public Extension MethodimbToNumber(Type)Overloaded.
Konvertuje u broj prema zadatom tipu
(Defined by imbTypeExtensions.)
Public Extension MethodimbToNumberT(Type)Overloaded. (Defined by imbTypeExtensions.)
Public Extension MethodisCoreColumn (Defined by PropertyEntryColumnExtensions.)
Public Extension MethodisNullOrEmpty (Defined by imbSciStringExtensions.)
Public Extension MethodisNullOrEmptyString
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.)
Public Extension MethodkeyToString (Defined by imbPropertyCollectionExtensions.)
Public Extension MethodrenderToTemplate
Vraca string koji definise placeholder u template stringu
(Defined by stringTemplateTools.)
Public Extension MethodresolvePath(String, pathResolveFlag)Overloaded.
Najčešće korišćen metod za upit nad putanjom i objektom
(Defined by resourcePathResolver.)
Public Extension MethodresolvePathT(String, pathResolveFlag)Overloaded.
(Defined by resourcePathResolver.)
Public Extension MethodsaveObjectToXML (Defined by objectSerialization.)
Public Extension MethodsetObjectByMappedSource
Primenjuje prosledjenu property mapu
(Defined by propertyMappingTools.)
Public Extension MethodsetObjectBySource
Sets the object by source.
(Defined by imbTypeObjectOperations.)
Public Extension MethodsetObjectValueTypesBySource
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.)
Public Extension MethodsetValuesToMappedTarget
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.)
Public Extension MethodsumValues
Supports> String, Int32, any number via Double and Boolean
(Defined by imbTypeExtensions.)
Public Extension MethodtoExpressionString
Returns expression-ready string, wrapped in proper quotes if required
(Defined by imbStringFormats.)
Public Extension MethodtoStringSafeOverloaded. (Defined by imbStringFormats.)
Public Extension MethodtoStringSafe(String)Overloaded. (Defined by imbStringFormats.)
Public Extension MethodtoStringSafe(String, String)Overloaded.
Bezbedna konverzija u String -- ako je null onda valueForNull
(Defined by imbStringFormats.)
Top
See Also