예제 #1
0
파일: XmlNameEntry.cs 프로젝트: nobled/mono
		public string GetPrefixedName (XmlNameEntryCache owner)
		{
			if (prefixed_name_cache == null)
				prefixed_name_cache =
					owner.GetAtomizedPrefixedName (Prefix, LocalName);
			return prefixed_name_cache;
		}
예제 #2
0
 public string GetPrefixedName(XmlNameEntryCache owner)
 {
     if (this.prefixed_name_cache == null)
     {
         this.prefixed_name_cache = owner.GetAtomizedPrefixedName(this.Prefix, this.LocalName);
     }
     return(this.prefixed_name_cache);
 }
 public string GetPrefixedName(XmlNameEntryCache owner)
 {
     if (prefixed_name_cache == null)
     {
         prefixed_name_cache =
             owner.GetAtomizedPrefixedName(Prefix, LocalName);
     }
     return(prefixed_name_cache);
 }
예제 #4
0
        XmlDocument(XmlImplementation impl, XmlNameTable nt) : base(null)
        {
            if (impl == null)
            {
                implementation = new XmlImplementation();
            }
            else
            {
                implementation = impl;
            }

            nameTable = (nt != null) ? nt : implementation.InternalNameTable;
            nameCache = new XmlNameEntryCache(nameTable);
            AddDefaultNameTableKeys();
            resolver = new XmlUrlResolver();
        }
예제 #5
0
        XmlDocument(XmlImplementation impl, XmlNameTable nt) : base(null)
        {
            if (impl == null)
            {
                implementation = new XmlImplementation();
            }
            else
            {
                implementation = impl;
            }

            nameTable = (nt != null) ? nt : implementation.InternalNameTable;
            nameCache = new XmlNameEntryCache(nameTable);
            AddDefaultNameTableKeys();
            resolver = new XmlUrlResolver();

            Type type = GetType();

            optimal_create_element   = type.GetMethod("CreateElement", optimal_create_types).DeclaringType == typeof(XmlDocument);
            optimal_create_attribute = type.GetMethod("CreateAttribute", optimal_create_types).DeclaringType == typeof(XmlDocument);
        }
예제 #6
0
파일: XmlDocument.cs 프로젝트: nzaugg/mono
		XmlDocument (XmlImplementation impl, XmlNameTable nt) : base (null)
		{
			if (impl == null)
				implementation = new XmlImplementation ();
			else
				implementation = impl;

			nameTable = (nt != null) ? nt : implementation.InternalNameTable;
			nameCache = new XmlNameEntryCache (nameTable);
			AddDefaultNameTableKeys ();
			resolver = new XmlUrlResolver ();
			
			Type type = GetType ();
			optimal_create_element = type.GetMethod ("CreateElement", optimal_create_types).DeclaringType == typeof (XmlDocument);
			optimal_create_attribute = type.GetMethod ("CreateAttribute", optimal_create_types).DeclaringType == typeof (XmlDocument);
		}