C# Class Project.Core.Utils.Extensions.ObjectExtensions

Afficher le fichier Open project: tylermercier/mvc_template

Méthodes publiques

Méthode Description
IsSimpleType ( this type ) : bool
ToExpando ( this anonymousObject ) : System.Dynamic.ExpandoObject
ToXml ( this input ) : System.Xml.Linq.XElement
ToXml ( this input, string element ) : System.Xml.Linq.XElement

Method Details

IsSimpleType() public static méthode

public static IsSimpleType ( this type ) : bool
type this
Résultat bool

ToExpando() public static méthode

public static ToExpando ( this anonymousObject ) : System.Dynamic.ExpandoObject
anonymousObject this
Résultat System.Dynamic.ExpandoObject

ToXml() public static méthode

public static ToXml ( this input ) : System.Xml.Linq.XElement
input this
Résultat System.Xml.Linq.XElement

ToXml() public static méthode

public static ToXml ( this input, string element ) : System.Xml.Linq.XElement
input this
element string
Résultat System.Xml.Linq.XElement