CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Server.Hosts.WcfChannel.NetDataContractOperationBehavior Class Reference

Override the DataContract serialization behavior to use the NetDataContractSerializer. More...

Inheritance diagram for Csla.Server.Hosts.WcfChannel.NetDataContractOperationBehavior:

Public Member Functions

 NetDataContractOperationBehavior (OperationDescription operation)
 Create new instance of object. More...
 
 NetDataContractOperationBehavior (OperationDescription operation, DataContractFormatAttribute dataContractFormatAttribute)
 Create new instance of object. More...
 
override XmlObjectSerializer CreateSerializer (Type type, string name, string ns, IList< Type > knownTypes)
 Overrided CreateSerializer to return an XmlObjectSerializer which is capable of preserving the object references. More...
 
override XmlObjectSerializer CreateSerializer (Type type, XmlDictionaryString name, XmlDictionaryString ns, IList< Type > knownTypes)
 Overrided CreateSerializer to return an XmlObjectSerializer which is capable of preserving the object references. More...
 

Detailed Description

Override the DataContract serialization behavior to use the NetDataContractSerializer.

Definition at line 22 of file NetDataContractOperationBehavior.cs.

Constructor & Destructor Documentation

◆ NetDataContractOperationBehavior() [1/2]

Csla.Server.Hosts.WcfChannel.NetDataContractOperationBehavior.NetDataContractOperationBehavior ( OperationDescription  operation)

Create new instance of object.

Parameters
operationOperation description.

Definition at line 30 of file NetDataContractOperationBehavior.cs.

◆ NetDataContractOperationBehavior() [2/2]

Csla.Server.Hosts.WcfChannel.NetDataContractOperationBehavior.NetDataContractOperationBehavior ( OperationDescription  operation,
DataContractFormatAttribute  dataContractFormatAttribute 
)

Create new instance of object.

Parameters
operationOperation description.
dataContractFormatAttributeData contract attribute object.

Definition at line 40 of file NetDataContractOperationBehavior.cs.

Member Function Documentation

◆ CreateSerializer() [1/2]

override XmlObjectSerializer Csla.Server.Hosts.WcfChannel.NetDataContractOperationBehavior.CreateSerializer ( Type  type,
string  name,
string  ns,
IList< Type >  knownTypes 
)

Overrided CreateSerializer to return an XmlObjectSerializer which is capable of preserving the object references.

Definition at line 53 of file NetDataContractOperationBehavior.cs.

◆ CreateSerializer() [2/2]

override XmlObjectSerializer Csla.Server.Hosts.WcfChannel.NetDataContractOperationBehavior.CreateSerializer ( Type  type,
XmlDictionaryString  name,
XmlDictionaryString  ns,
IList< Type >  knownTypes 
)

Overrided CreateSerializer to return an XmlObjectSerializer which is capable of preserving the object references.

Definition at line 63 of file NetDataContractOperationBehavior.cs.