C# Class Dynamitey.Internal.Optimization.Util

Utility Class
Mostra file Open project: ekonbenefits/dynamitey

Public Properties

Property Type Description
IsMono bool

Public Methods

Method Description
FixContext ( this context ) : Type

Fixes the context.

GetTargetContext ( this target, Type &context, bool &staticContext ) : object

Gets the target context.

IsAnonymousType ( object target ) : bool

Determines whether [is anonymous type] [the specified target].

NameArgsIfNecessary ( CallInfo callInfo, object args ) : object[]

Names the args if necessary.

Private Methods

Method Description
GetArgsAndNames ( object args, string &argNames ) : object[]
MassageResultBasedOnInterface ( this target, string binderName, bool resultFound, object &result ) : bool
Util ( ) : System

Method Details

FixContext() public static method

Fixes the context.
public static FixContext ( this context ) : Type
context this The context.
return System.Type

GetTargetContext() public static method

Gets the target context.
public static GetTargetContext ( this target, Type &context, bool &staticContext ) : object
target this The target.
context System.Type The context.
staticContext bool if set to true [static context].
return object

IsAnonymousType() public static method

Determines whether [is anonymous type] [the specified target].
public static IsAnonymousType ( object target ) : bool
target object The target.
return bool

NameArgsIfNecessary() public static method

Names the args if necessary.
public static NameArgsIfNecessary ( CallInfo callInfo, object args ) : object[]
callInfo System.Dynamic.CallInfo The call info.
args object The args.
return object[]

Property Details

IsMono public_oe static_oe property

Is Current Runtime Mono?
public static bool IsMono
return bool