-Line endings

This commit is contained in:
James Newton-King
2012-04-08 18:10:07 +12:00
parent a139d7bf20
commit 83618b1ea0
381 changed files with 96885 additions and 96885 deletions
+32 -32
View File
@@ -1,33 +1,33 @@
#if SILVERLIGHT || PocketPC || NETFX_CORE
using System;
using System.Reflection;
namespace Newtonsoft.Json
{
/// <summary>
/// Allows users to control class loading and mandate what class to load.
/// </summary>
public abstract class SerializationBinder
{
/// <summary>
/// When overridden in a derived class, controls the binding of a serialized object to a type.
/// </summary>
/// <param name="assemblyName">Specifies the <see cref="Assembly"/> name of the serialized object.</param>
/// <param name="typeName">Specifies the <see cref="Type"/> name of the serialized object</param>
/// <returns>The type of the object the formatter creates a new instance of.</returns>
public abstract Type BindToType(string assemblyName, string typeName);
/// <summary>
/// When overridden in a derived class, controls the binding of a serialized object to a type.
/// </summary>
/// <param name="serializedType">The type of the object the formatter creates a new instance of.</param>
/// <param name="assemblyName">Specifies the <see cref="Assembly"/> name of the serialized object.</param>
/// <param name="typeName">Specifies the <see cref="Type"/> name of the serialized object.</param>
public virtual void BindToName(Type serializedType, out string assemblyName, out string typeName)
{
assemblyName = null;
typeName = null;
}
}
}
#if SILVERLIGHT || PocketPC || NETFX_CORE
using System;
using System.Reflection;
namespace Newtonsoft.Json
{
/// <summary>
/// Allows users to control class loading and mandate what class to load.
/// </summary>
public abstract class SerializationBinder
{
/// <summary>
/// When overridden in a derived class, controls the binding of a serialized object to a type.
/// </summary>
/// <param name="assemblyName">Specifies the <see cref="Assembly"/> name of the serialized object.</param>
/// <param name="typeName">Specifies the <see cref="Type"/> name of the serialized object</param>
/// <returns>The type of the object the formatter creates a new instance of.</returns>
public abstract Type BindToType(string assemblyName, string typeName);
/// <summary>
/// When overridden in a derived class, controls the binding of a serialized object to a type.
/// </summary>
/// <param name="serializedType">The type of the object the formatter creates a new instance of.</param>
/// <param name="assemblyName">Specifies the <see cref="Assembly"/> name of the serialized object.</param>
/// <param name="typeName">Specifies the <see cref="Type"/> name of the serialized object.</param>
public virtual void BindToName(Type serializedType, out string assemblyName, out string typeName)
{
assemblyName = null;
typeName = null;
}
}
}
#endif