C# Class NServiceBus.XmlSerialization

Inheritance: IDisposable
Afficher le fichier Open project: Particular/NServiceBus Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
Serialize ( ) : void
Write ( System.Xml.Linq.XElement elem, Type t, object obj ) : void
WriteElementNamespaces ( System.Xml.Linq.XElement elem, IReadOnlyList baseTypes ) : void
WriteEntry ( System.Xml.Linq.XElement elem, string name, Type type, object value ) : void
WriteObject ( System.Xml.Linq.XElement elem, string name, Type type, object value, bool useNS = false ) : void
XmlSerialization ( Type messageType, Stream stream, object message, Conventions conventions, XmlSerializerCache cache, bool skipWrappingRawXml, string @namespace = DefaultNamespace ) : System

Private Methods

Méthode Description
ForceEmptyTagsWithNewlines ( System.Xml.Linq.XDocument document ) : void
GetBaseTypes ( ) : List
IsIndexedProperty ( PropertyInfo propertyInfo ) : bool
SetDefaultNamespace ( System.Xml.Linq.XElement element, System.Xml.Linq.XNamespace newXmlns ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Serialize() public méthode

public Serialize ( ) : void
Résultat void

Write() public méthode

public Write ( System.Xml.Linq.XElement elem, Type t, object obj ) : void
elem System.Xml.Linq.XElement
t System.Type
obj object
Résultat void

WriteElementNamespaces() public méthode

public WriteElementNamespaces ( System.Xml.Linq.XElement elem, IReadOnlyList baseTypes ) : void
elem System.Xml.Linq.XElement
baseTypes IReadOnlyList
Résultat void

WriteEntry() public méthode

public WriteEntry ( System.Xml.Linq.XElement elem, string name, Type type, object value ) : void
elem System.Xml.Linq.XElement
name string
type System.Type
value object
Résultat void

WriteObject() public méthode

public WriteObject ( System.Xml.Linq.XElement elem, string name, Type type, object value, bool useNS = false ) : void
elem System.Xml.Linq.XElement
name string
type System.Type
value object
useNS bool
Résultat void

XmlSerialization() public méthode

public XmlSerialization ( Type messageType, Stream stream, object message, Conventions conventions, XmlSerializerCache cache, bool skipWrappingRawXml, string @namespace = DefaultNamespace ) : System
messageType System.Type
stream Stream
message object
conventions Conventions
cache XmlSerializerCache
skipWrappingRawXml bool
@namespace string
Résultat System