<PackageReference Include="castle.core" Version="2.5.2" />

DictionaryAdapterFactory

Uses Reflection.Emit to expose the properties of a dictionary through a dynamic implementation of a typed interface.

public static string GetSafeTypeFullName(Type type)

public static string GetSafeTypeName(Type type)

public T GetAdapter<T>(IDictionary dictionary)

public object GetAdapter(Type type, IDictionary dictionary)

public object GetAdapter(Type type, IDictionary dictionary, PropertyDescriptor descriptor)

public T GetAdapter<T, R>(IDictionary<string, R> dictionary)

public object GetAdapter<R>(Type type, IDictionary<string, R> dictionary)

public T GetAdapter<T>(NameValueCollection nameValues)

public object GetAdapter(Type type, NameValueCollection nameValues)

public T GetAdapter<T>(IXPathNavigable xpathNavigable)

public object GetAdapter(Type type, IXPathNavigable xpathNavigable)