C# Class IronPython.Runtime.Types.ReflectedProperty

Inheritance: IronPython.Runtime.Types.ReflectedGetterSetter, ICodeFormattable
Exibir arquivo Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
CallGetter object
GetValue object
IsApplicableForType bool
IsSetDescriptor bool
MakeGetExpression void
SetValue void
TryDeleteValue bool
TryGetValue bool
TrySetValue bool

Public Methods

Method Description
ReflectedProperty ( PropertyInfo info, MethodInfo getter, MethodInfo setter, NameType nt ) : System.Linq.Expressions
__delete__ ( object instance ) : void
__repr__ ( Microsoft.Scripting.CodeContext context ) : string
__set__ ( Microsoft.Scripting.CodeContext context, object instance, object value ) : void

Private Methods

Method Description
CallGetter ( Microsoft.Scripting.CodeContext context, IronPython.Runtime.Types.PythonType owner, SiteLocalStorage storage, object instance ) : object
GetValue ( Microsoft.Scripting.CodeContext context, object instance ) : object
IsApplicableForType ( Type type, MethodInfo mt ) : bool
IsSetDescriptor ( Microsoft.Scripting.CodeContext context, IronPython.Runtime.Types.PythonType owner ) : bool
MakeGetExpression ( PythonBinder binder, Expression codeContext, DynamicMetaObject instance, DynamicMetaObject owner, ConditionalBuilder builder ) : void
SetValue ( Microsoft.Scripting.CodeContext context, object instance, object value ) : void
TryDeleteValue ( Microsoft.Scripting.CodeContext context, object instance, IronPython.Runtime.Types.PythonType owner ) : bool
TryGetValue ( Microsoft.Scripting.CodeContext context, object instance, IronPython.Runtime.Types.PythonType owner, object &value ) : bool
TrySetValue ( Microsoft.Scripting.CodeContext context, object instance, IronPython.Runtime.Types.PythonType owner, object value ) : bool

Method Details

ReflectedProperty() public method

public ReflectedProperty ( PropertyInfo info, MethodInfo getter, MethodInfo setter, NameType nt ) : System.Linq.Expressions
info System.Reflection.PropertyInfo
getter System.Reflection.MethodInfo
setter System.Reflection.MethodInfo
nt NameType
return System.Linq.Expressions

__delete__() public method

public __delete__ ( object instance ) : void
instance object
return void

__repr__() public method

public __repr__ ( Microsoft.Scripting.CodeContext context ) : string
context Microsoft.Scripting.CodeContext
return string

__set__() public method

public __set__ ( Microsoft.Scripting.CodeContext context, object instance, object value ) : void
context Microsoft.Scripting.CodeContext
instance object
value object
return void