Add project files.

This commit is contained in:
Dmitry Kolchev
2019-08-29 23:24:07 +03:00
parent cf73662a92
commit b0dc0da558
80 changed files with 37714 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Reflection;
using System.Collections.ObjectModel;
namespace Compat.Runtime.Serialization
{
public interface IDataContractSurrogate
{
Type GetDataContractType(Type type);
object GetObjectToSerialize(object obj, Type targetType);
object GetDeserializedObject(object obj, Type targetType);
object GetCustomDataToExport(MemberInfo memberInfo, Type dataContractType);
object GetCustomDataToExport(Type clrType, Type dataContractType);
void GetKnownCustomDataTypes(Collection<Type> customDataTypes);
Type GetReferencedTypeOnImport(string typeName, string typeNamespace, object customData);
}
}