C# Class KonfDB.Infrastructure.DataResolvers.SharedTypeResolver

Inheritance: System.Runtime.Serialization.DataContractResolver
Show file Open project: punitganshani/KonfDB

Public Methods

Method Description
ResolveName ( string typeName, string typeNamespace, Type declaredType, DataContractResolver knownTypeResolver ) : Type
TryResolveType ( Type dataContractType, Type declaredType, DataContractResolver knownTypeResolver, XmlDictionaryString &typeName, XmlDictionaryString &typeNamespace ) : bool

Method Details

ResolveName() public method

public ResolveName ( string typeName, string typeNamespace, Type declaredType, DataContractResolver knownTypeResolver ) : Type
typeName string
typeNamespace string
declaredType System.Type
knownTypeResolver System.Runtime.Serialization.DataContractResolver
return System.Type

TryResolveType() public method

public TryResolveType ( Type dataContractType, Type declaredType, DataContractResolver knownTypeResolver, XmlDictionaryString &typeName, XmlDictionaryString &typeNamespace ) : bool
dataContractType System.Type
declaredType System.Type
knownTypeResolver System.Runtime.Serialization.DataContractResolver
typeName System.Xml.XmlDictionaryString
typeNamespace System.Xml.XmlDictionaryString
return bool