Files
mono/mcs/class/System.ServiceModel/System.Runtime.Serialization/IDataContractSurrogate.cs
T
Atsushi Eno f2eba88652 2005-09-22 Atsushi Enomoto <[email protected]>
#if NET_2_0. coding style was updated.


svn path=/trunk/mcs/; revision=50516
2005-09-22 17:18:45 +00:00

34 lines
783 B
C#

#if NET_2_0
using System;
using System.CodeDom;
using System.Reflection;
namespace System.Runtime.Serialization
{
public interface IDataContractSurrogate
{
object GetCustomDataToExport (MemberInfo memberInfo,
Type dataContractType);
object GetCustomDataToExport (Type clrType,
Type dataContractType);
Type GetDataContractType (Type type);
object GetDeserializedObject (object obj, Type targetType);
void GetKnownCustomDataTypes (
KnownTypeCollection customDataTypes);
object GetObjectToSerialize (object obj, Type targetType);
Type GetReferencedTypeOnImport (string typeName,
string typeNamespace, object customData);
CodeTypeDeclaration ProcessImportedType (
CodeTypeDeclaration typeDeclaration,
CodeCompileUnit compileUnit);
}
}
#endif