Méthode | Description | |
---|---|---|
ExtensionToInstanceProxy ( dynamic target, |
Initializes a new instance of the ExtensionToInstanceProxy class.
|
|
TryGetMember ( |
Provides the implementation for operations that get member values. Classes derived from the T:System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations such as getting a value for a property.
|
|
TryInvokeMember ( System binder, object args, object &result ) : bool |
Tries the invoke member.
|
Méthode | Description | |
---|---|---|
CreateSelf ( object target, |
Creates the self.
|
|
InvokeStaticMethod ( String_OR_InvokeMemberName name, object args ) : object |
Invokes the static method.
|
Méthode | Description | |
---|---|---|
IsExtendedType ( object target ) : bool |
protected CreateSelf ( object target, |
||
target | object | The target. |
extendedType | Type of the extended. | |
staticTypes | The static types. | |
instanceHints | The instance hints. | |
Résultat |
public ExtensionToInstanceProxy ( dynamic target, |
||
target | dynamic | The target. |
extendedType | Type of the extended. | |
staticTypes | The static types. | |
instanceHints | The instance hints. | |
Résultat | System |
protected InvokeStaticMethod ( String_OR_InvokeMemberName name, object args ) : object | ||
name | String_OR_InvokeMemberName | The name. |
args | object | The args. |
Résultat | object |
public TryGetMember ( |
||
binder | Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the |
|
result | object | The result of the get operation. For example, if the method is called for a property, you can assign the property value to |
Résultat | bool |
public TryInvokeMember ( System binder, object args, object &result ) : bool | ||
binder | System | The binder. |
args | object | The args. |
result | object | The result. |
Résultat | bool |