Class DynamicProxy<T>
Inheritance
System.Object
DynamicProxy<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Bayat.Json.Runtime.dll
Syntax
public class DynamicProxy<T>
Type Parameters
Methods
|
Improve this Doc
View Source
GetDynamicMemberNames(T)
Declaration
public virtual IEnumerable<string> GetDynamicMemberNames(T instance)
Parameters
Type |
Name |
Description |
T |
instance |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
TryBinaryOperation(T, BinaryOperationBinder, Object, out Object)
Declaration
public virtual bool TryBinaryOperation(T instance, BinaryOperationBinder binder, object arg, out object result)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.BinaryOperationBinder |
binder |
|
System.Object |
arg |
|
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryConvert(T, ConvertBinder, out Object)
Declaration
public virtual bool TryConvert(T instance, ConvertBinder binder, out object result)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.ConvertBinder |
binder |
|
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryCreateInstance(T, CreateInstanceBinder, Object[], out Object)
Declaration
public virtual bool TryCreateInstance(T instance, CreateInstanceBinder binder, object[] args, out object result)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.CreateInstanceBinder |
binder |
|
System.Object[] |
args |
|
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryDeleteIndex(T, DeleteIndexBinder, Object[])
Declaration
public virtual bool TryDeleteIndex(T instance, DeleteIndexBinder binder, object[] indexes)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.DeleteIndexBinder |
binder |
|
System.Object[] |
indexes |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryDeleteMember(T, DeleteMemberBinder)
Declaration
public virtual bool TryDeleteMember(T instance, DeleteMemberBinder binder)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.DeleteMemberBinder |
binder |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryGetIndex(T, GetIndexBinder, Object[], out Object)
Declaration
public virtual bool TryGetIndex(T instance, GetIndexBinder binder, object[] indexes, out object result)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.GetIndexBinder |
binder |
|
System.Object[] |
indexes |
|
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryGetMember(T, GetMemberBinder, out Object)
Declaration
public virtual bool TryGetMember(T instance, GetMemberBinder binder, out object result)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.GetMemberBinder |
binder |
|
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryInvoke(T, InvokeBinder, Object[], out Object)
Declaration
public virtual bool TryInvoke(T instance, InvokeBinder binder, object[] args, out object result)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.InvokeBinder |
binder |
|
System.Object[] |
args |
|
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryInvokeMember(T, InvokeMemberBinder, Object[], out Object)
Declaration
public virtual bool TryInvokeMember(T instance, InvokeMemberBinder binder, object[] args, out object result)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.InvokeMemberBinder |
binder |
|
System.Object[] |
args |
|
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TrySetIndex(T, SetIndexBinder, Object[], Object)
Declaration
public virtual bool TrySetIndex(T instance, SetIndexBinder binder, object[] indexes, object value)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.SetIndexBinder |
binder |
|
System.Object[] |
indexes |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TrySetMember(T, SetMemberBinder, Object)
Declaration
public virtual bool TrySetMember(T instance, SetMemberBinder binder, object value)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.SetMemberBinder |
binder |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryUnaryOperation(T, UnaryOperationBinder, out Object)
Declaration
public virtual bool TryUnaryOperation(T instance, UnaryOperationBinder binder, out object result)
Parameters
Type |
Name |
Description |
T |
instance |
|
System.Dynamic.UnaryOperationBinder |
binder |
|
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|