C# Class IronPython.Runtime.Types.ReflectedProperty

Inheritance: IronPython.Runtime.Types.ReflectedGetterSetter, ICodeFormattable
Afficher le fichier Open project: jschementi/iron Class Usage Examples

Private Properties

Свойство Type Description
CallGetter object
GetValue object
IsApplicableForType bool
IsSetDescriptor bool
MakeGetExpression void
SetValue void
TryDeleteValue bool
TryGetValue bool
TrySetValue bool

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat System.Linq.Expressions

__delete__() public méthode

public __delete__ ( object instance ) : void
instance object
Résultat void

__repr__() public méthode

public __repr__ ( Microsoft.Scripting.CodeContext context ) : string
context Microsoft.Scripting.CodeContext
Résultat string

__set__() public méthode

public __set__ ( Microsoft.Scripting.CodeContext context, object instance, object value ) : void
context Microsoft.Scripting.CodeContext
instance object
value object
Résultat void