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.

◆ RegisterDataContract< TService, TDataContract >()

virtual void Cqrs.Services.WcfDataContractResolverConfiguration.RegisterDataContract< TService, TDataContract > ( string  operationName,
RegistrationHandling  registrationHandling = RegistrationHandling.Replace 
)
virtual

Register the TDataContract to use for the operation named operationName for the TService .

Template Parameters
TServiceThe Type of service.
TDataContractThe Type of the resolver.
Parameters
operationNameThe name of the operation.
registrationHandlingDefaults to RegistrationHandling.Replace
Type Constraints
TDataContract :new