C# Class DynamicXml.DynamicXElementBase

Base class for "Dynamic wrapper" around XElement
Now we have two separate implementation for dynamic xml wrapper: one for reading xml and another - for reading and writing. So we have some code common for both of them and this is reasonable to use common base class for both of them.
Inheritance: System.Dynamic.DynamicObject
Afficher le fichier Open project: SergeyTeplyakov/DynamicXml

Protected Properties

Свойство Type Description
element System.Xml.Linq.XElement

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetDynamicMemberNames ( ) : IEnumerable
GetHashCode ( ) : int
ToString ( ) : string
TryConvert ( ConvertBinder binder, object &result ) : bool

Converting dynamic XElement wrapper to any other type means converting (or extracting) underlying element.Value

Méthodes protégées

Méthode Description
DynamicXElementBase ( System.Xml.Linq.XElement element ) : System

Private Methods

Méthode Description
HasParent ( ) : bool

Method Details

DynamicXElementBase() protected méthode

protected DynamicXElementBase ( System.Xml.Linq.XElement element ) : System
element System.Xml.Linq.XElement
Résultat System

Equals() public final méthode

public final Equals ( object obj ) : bool
obj object
Résultat bool

GetDynamicMemberNames() public final méthode

public final GetDynamicMemberNames ( ) : IEnumerable
Résultat IEnumerable

GetHashCode() public final méthode

public final GetHashCode ( ) : int
Résultat int

ToString() public final méthode

public final ToString ( ) : string
Résultat string

TryConvert() public final méthode

Converting dynamic XElement wrapper to any other type means converting (or extracting) underlying element.Value
public final TryConvert ( ConvertBinder binder, object &result ) : bool
binder System.Dynamic.ConvertBinder
result object
Résultat bool

Property Details

element protected_oe property

protected XElement,System.Xml.Linq element
Résultat System.Xml.Linq.XElement