mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
XmlImplementation.cs (CreateDocument): Implemented. svn path=/trunk/mcs/; revision=3350
33 lines
596 B
C#
33 lines
596 B
C#
//
|
|
// System.Xml.XmlImplementation.cs
|
|
//
|
|
// Author: Duncan Mak ([email protected])
|
|
//
|
|
// (C) Ximian, Inc.
|
|
//
|
|
|
|
namespace System.Xml
|
|
{
|
|
public class XmlImplementation
|
|
{
|
|
public XmlImplementation ()
|
|
: base ()
|
|
{
|
|
}
|
|
|
|
public virtual XmlDocument CreateDocument ()
|
|
{
|
|
return new XmlDocument (this);
|
|
}
|
|
|
|
public bool HasFeature (string strFeature, string strVersion)
|
|
{
|
|
if ((strVersion == "XML") || (strVersion == "xml") // not case-sensitive
|
|
&& (strVersion == "1.0") || (strVersion == "2.0"))
|
|
return true;
|
|
else
|
|
return false;
|
|
}
|
|
}
|
|
}
|