-Added support for BindToName on SerializationBinder

This commit is contained in:
JamesNK
2011-07-28 00:53:50 +00:00
parent 588e90a11f
commit 8f01fa44f5
11 changed files with 230 additions and 18 deletions
@@ -16,6 +16,12 @@ namespace Newtonsoft.Json
/// <param name="typeName">Specifies the <see cref="Type"/> name of the serialized object</param>
/// <returns></returns>
public abstract Type BindToType(string assemblyName, string typeName);
public virtual void BindToName(Type serializedType, out string assemblyName, out string typeName)
{
assemblyName = null;
typeName = null;
}
}
}
#endif