C# Class AmazedSaint.Elastic.DynamicExtensions

Extension methods for our ElasticObject. See http://amazedsaint.blogspot.com/2010/02/introducing-elasticobject-for-net-40.html for details
Afficher le fichier Open project: amazedsaint/ElasticObject

Méthodes publiques

Méthode Description
ElasticFromXElement ( System.Xml.Linq.XElement el ) : ElasticObject

Build an expando from an XElement

ToElastic ( this e ) : dynamic

Converts an XElement to the expando

ToXElement ( this e ) : System.Xml.Linq.XElement

Converts an expando to XElement

XElementFromElastic ( ElasticObject elastic, System.Xml.Linq.XNamespace nameSpace = null ) : System.Xml.Linq.XElement

Returns an XElement from an ElasticObject

Method Details

ElasticFromXElement() public static méthode

Build an expando from an XElement
public static ElasticFromXElement ( System.Xml.Linq.XElement el ) : ElasticObject
el System.Xml.Linq.XElement
Résultat AmazedSaint.Elastic.Lib.ElasticObject

ToElastic() public static méthode

Converts an XElement to the expando
public static ToElastic ( this e ) : dynamic
e this
Résultat dynamic

ToXElement() public static méthode

Converts an expando to XElement
public static ToXElement ( this e ) : System.Xml.Linq.XElement
e this
Résultat System.Xml.Linq.XElement

XElementFromElastic() public static méthode

Returns an XElement from an ElasticObject
public static XElementFromElastic ( ElasticObject elastic, System.Xml.Linq.XNamespace nameSpace = null ) : System.Xml.Linq.XElement
elastic AmazedSaint.Elastic.Lib.ElasticObject
nameSpace System.Xml.Linq.XNamespace
Résultat System.Xml.Linq.XElement