Files
mono/mcs/class/System.ServiceModel/System.Runtime.Serialization/IDataContractSurrogate.cs
T
Atsushi Eno fe9bd14c8f 2005-09-22 Atsushi Enomoto <[email protected]>
new files for new xmlserializer.


svn path=/trunk/mcs/; revision=50510
2005-09-22 16:44:47 +00:00

32 lines
764 B
C#

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);
}
}