Exemple #1
0
 public DynamicXml(
     XContainer root,
     DynamicXmlOptions options = null)
 {
     _root    = root;
     _options = options ?? DynamicXmlOptions.Default;
 }
Exemple #2
0
 public static dynamic Load(
     string filename,
     DynamicXmlOptions options)
 {
     return(new DynamicXml(XDocument.Load(filename), options));
 }
Exemple #3
0
 public static dynamic Load(
     Stream stream,
     DynamicXmlOptions options = null)
 {
     return(new DynamicXml(XDocument.Load(stream), options));
 }
Exemple #4
0
 public static dynamic Load(
     TextReader reader,
     DynamicXmlOptions options = null)
 {
     return(new DynamicXml(XDocument.Load(reader), options));
 }
Exemple #5
0
 public static dynamic Parse(
     string text,
     DynamicXmlOptions options = null)
 {
     return(new DynamicXml(XDocument.Parse(text), options));
 }