C# Class Dynamitey.DynamicObjects.FluentStringLookup

Building block to use Method calls as dynamic lookups
Inheritance: System.Dynamic.DynamicObject
Show file Open project: ekonbenefits/dynamitey

Public Methods

Method Description
FluentStringLookup ( dynamic>.Func lookup ) : System

Initializes a new instance of the FluentStringLookup class.

TryInvoke ( InvokeBinder binder, object args, object &result ) : bool

Tries the invoke.

TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool

Tries the invoke member.

Method Details

FluentStringLookup() public method

Initializes a new instance of the FluentStringLookup class.
public FluentStringLookup ( dynamic>.Func lookup ) : System
lookup dynamic>.Func The lookup.
return System

TryInvoke() public method

Tries the invoke.
public TryInvoke ( InvokeBinder binder, object args, object &result ) : bool
binder System.Dynamic.InvokeBinder The binder.
args object The args.
result object The result.
return bool

TryInvokeMember() public method

Tries the invoke member.
public TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
binder System.Dynamic.InvokeMemberBinder The binder.
args object The args.
result object The result.
return bool