CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Services.WcfDataContractResolverConfiguration Class Reference

Configuration information for setting up WCF resolvers. More...

Public Types

enum  RegistrationHandling { RegistrationHandling.Replace = 0, RegistrationHandling.ThrowExceptionOnDuplicate = 1, RegistrationHandling.Nothing = 2 }
 The type of registration action to take More...
 

Public Member Functions

 WcfDataContractResolverConfiguration ()
 Instantiates a new instance of WcfDataContractResolverConfiguration More...
 
virtual void RegisterDataContract< TService, TDataContract > (string operationName, RegistrationHandling registrationHandling=RegistrationHandling.Replace)
 Register the TDataContract to use for the operation named operationName for the TService . More...
 
virtual Type GetDataContracts< TService > (string operationName)
 Gets the Type of DataContractResolver for the operation named operationName of the TService More...
 

Properties

static WcfDataContractResolverConfiguration Current [get, protected set]
 The current instance of WcfDataContractResolverConfiguration to use. More...
 
IDictionary< Type, IDictionary< string, Type > > DataContracts [get]
 Gets or set the data contracts for the system to use. More...
 

Detailed Description

Configuration information for setting up WCF resolvers.