CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Services.WcfDataContractResolverConfiguration Class Reference

Public Types

enum  RegistrationHandling { RegistrationHandling.Replace = 0, RegistrationHandling.ThrowExceptionOnDuplicate = 1, RegistrationHandling.Nothing = 2 }
 

Public Member Functions

 WcfDataContractResolverConfiguration ()
 
virtual void RegisterDataContract< TService, TDataContract > (string operationName, RegistrationHandling registraionHandling=RegistrationHandling.Replace)
 
virtual Type GetDataContracts< TService > (string operationName)
 

Properties

static WcfDataContractResolverConfiguration Current [get, protected set]
 
IDictionary< Type, IDictionary< string, Type > > DataContracts [get]