root / trunk / Libraries / Json40r2 / Source / Src / Newtonsoft.Json / SerializationBinder.cs @ ed0be341
History | View | Annotate | Download (720 Bytes)
1 |
#if SILVERLIGHT || PocketPC |
---|---|
2 |
using System; |
3 |
using System.Reflection; |
4 |
|
5 |
namespace Newtonsoft.Json |
6 |
{ |
7 |
/// <summary> |
8 |
/// Allows users to control class loading and mandate what class to load. |
9 |
/// </summary> |
10 |
public abstract class SerializationBinder |
11 |
{ |
12 |
/// <summary> |
13 |
/// When overridden in a derived class, controls the binding of a serialized object to a type. |
14 |
/// </summary> |
15 |
/// <param name="assemblyName">Specifies the <see cref="Assembly"/> name of the serialized object.</param> |
16 |
/// <param name="typeName">Specifies the <see cref="Type"/> name of the serialized object</param> |
17 |
/// <returns></returns> |
18 |
public abstract Type BindToType(string assemblyName, string typeName); |
19 |
} |
20 |
} |
21 |
#endif |