Method | Description | |
---|---|---|
Add ( |
Adds a MemberInfo instance to the chain
|
|
Add ( string propertyName ) : void |
Adds a property name to the chain
|
|
AddIndexer ( object indexer ) : void |
Adds an indexer to the property chain. For example, if the following chain has been constructed: Parent.Child then calling AddIndexer(0) would convert this to: Parent.Child[0]
|
|
BuildPropertyName ( string propertyName ) : string |
Builds a property path.
|
|
FromExpression ( |
Creates a PropertyChain from a lambda expresion
|
|
IsChildChainOf ( |
Checks if the current chain is the child of another chain. For example, if chain1 were for "Parent.Child" and chain2 were for "Parent.Child.GrandChild" then chain2.IsChildChainOf(chain1) would be true.
|
|
PropertyChain ( ) : System |
Creates a new PropertyChain.
|
|
PropertyChain ( IEnumerable |
Creates a new PropertyChain
|
|
PropertyChain ( |
Creates a new PropertyChain based on another.
|
|
ToString ( ) : string |
Creates a string representation of a property chain.
|
public Add ( |
||
member | Member to add | |
return | void |
public Add ( string propertyName ) : void | ||
propertyName | string | Name of the property to add |
return | void |
public BuildPropertyName ( string propertyName ) : string | ||
propertyName | string | |
return | string |
public static FromExpression ( |
||
expression | ||
return |
public IsChildChainOf ( |
||
parentChain | The parent chain to compare | |
return | bool |
public PropertyChain ( IEnumerable |
||
memberNames | IEnumerable |
|
return | System |
public PropertyChain ( |
||
parent | ||
return | System |