Class SimpleDictionaryProxy
This is used to generate implementations of property interfaces without logic Cannot handle other methods
Inheritance
System.Object
System.Reflection.DispatchProxy
SimpleDictionaryProxy
Inherited Members
System.Reflection.DispatchProxy.Create<T, TProxy>()
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dapplo.ActiveDirectory.Internal
Assembly: Dapplo.ActiveDirectory.dll
Syntax
public class SimpleDictionaryProxy : DispatchProxy
Methods
| Improve this Doc View SourceCreate<TInterface>()
Factory for a SimpleDictionaryProxy
Declaration
public static TInterface Create<TInterface>()
Returns
Type | Description |
---|---|
TInterface | Proxy which implements TInterface via SimpleDictionaryProxy |
Type Parameters
Name | Description |
---|---|
TInterface |
Invoke(MethodInfo, Object[])
Implements the invoke
Declaration
protected override object Invoke(MethodInfo targetMethod, object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.MethodInfo | targetMethod | MethodInfo |
System.Object[] | args | object array |
Returns
Type | Description |
---|---|
System.Object | object |
Overrides
System.Reflection.DispatchProxy.Invoke(System.Reflection.MethodInfo, System.Object[])
Exceptions
Type | Condition |
---|---|
System.NotImplementedException | When a method is define on the interface, and this is called |