Skip to content

Extensions.TypeRelated

Tomáš Bouda edited this page Nov 21, 2017 · 1 revision

🔴 Type Extensions.TypeRelated.PropertyTree

Class for storing property tree that is constructed by CreatePropertyTree for given Type


🔸 Property Extensions.TypeRelated.PropertyTree.Name

Name of property


🔸 Property Extensions.TypeRelated.PropertyTree.Type

Property type


🔸 Property Extensions.TypeRelated.PropertyTree.IsEnum

Gets


🔸 Property Extensions.TypeRelated.PropertyTree.Value

Property Value


🔸 Property Extensions.TypeRelated.PropertyTree.ChildProperties

Child properties if property is not simple type IsSimple


🔹 Method Extensions.TypeRelated.PropertyTree.#ctor(System.String,System.Type,System.Object,System.Collections.Generic.List{Extensions.TypeRelated.PropertyTree})

Constructs PropertyTree

Param Description
name
type
value
childProperties

🔴 Type Extensions.TypeRelated.TypeExtensions

Type related extension methods


🔹 Method Extensions.TypeRelated.TypeExtensions.IsSimple(System.Type)

Returns true if given Type is primitive or Enum or String or Decimal or DateTime

Param Description
type

Returns:


🔹 Method Extensions.TypeRelated.TypeExtensions.CreatePropertyTree(System.Type,System.Object,System.Type[])

Creates property tree from given Type

Param Description
type
refObject
ignoredTypes

Returns: