C# Class OpenSlx.Lib.Utility.ReflectionHelper.ComplexPropertyPath

Inheritance: IPropertyPath
Mostrar archivo Open project: nicocrm/OpenSlx

Public Methods

Method Description
ComplexPropertyPath ( Type t, String propertyPathString ) : System
FollowPropertyPath ( object source, object &instance, PropertyInfo &propInfo ) : void

Private Methods

Method Description
FindProperty ( Type t, String propertyPath ) : LinkedList

Recursively search for a property and return its path.

FindProperty_wkh ( Type t, String propertyPath, int pathIndex, LinkedList pathAccu ) : LinkedList

Workhorse for the function above - browse object properties recursively, return path. If no match return null.

Method Details

ComplexPropertyPath() public method

public ComplexPropertyPath ( Type t, String propertyPathString ) : System
t System.Type
propertyPathString String
return System

FollowPropertyPath() public method

public FollowPropertyPath ( object source, object &instance, PropertyInfo &propInfo ) : void
source object
instance object
propInfo System.Reflection.PropertyInfo
return void