Esempio n. 1
0
            public void Read(XmlData rdr)
            {
                name         = rdr.ReadName("name", UNKOWN_NAME);
                excluded     = rdr.ReadBool("excluded", false);
                instrumented = rdr.ReadBool("instrumented", false);

                int    pos;
                string cls = rdr.ReadName("class", UNKOWN_NAME);

                pos = cls.IndexOf("+<");
                if (pos > 0)
                {
                    pos = cls.LastIndexOf('.', pos);
                }
                else
                {
                    pos = cls.LastIndexOf('.');
                }

                if (pos > 0)
                {
                    Namespace = rdr.Name(cls.Substring(0, pos));
                    cls       = cls.Substring(pos + 1);
                }
                else
                {
                    Namespace = "-";
                }

                Class = rdr.Name(cls);
            }
Esempio n. 2
0
            public string document;     //="c:\Projects\svault\src\core\SVault.Core\Services\ServiceAttributes.cs" />

            public void Read(XmlData rdr)
            {
                visitcount = rdr.ReadLong("visitcount", 0);
                line       = rdr.ReadInt("line", 0);
                column     = rdr.ReadInt("column", 0);
                endline    = rdr.ReadInt("endline", line);
                endcolumn  = rdr.ReadInt("endcolumn", column);
                excluded   = rdr.ReadBool("excluded", false);
                document   = rdr.ReadName("document");
            }
Esempio n. 3
0
			public string document;//="c:\Projects\svault\src\core\SVault.Core\Services\ServiceAttributes.cs" />

			public void Read(XmlData rdr)
			{
				visitcount = rdr.ReadLong("visitcount", 0);
				line = rdr.ReadInt("line", 0);
				column = rdr.ReadInt("column", 0);
				endline = rdr.ReadInt("endline", line);
				endcolumn = rdr.ReadInt("endcolumn", column);
				excluded = rdr.ReadBool("excluded", false);
				document = rdr.ReadName("document");
			}
Esempio n. 4
0
			public void Read(XmlData rdr)
			{
				name = rdr.ReadName("name", UNKOWN_NAME);
				excluded = rdr.ReadBool("excluded", false);
				instrumented = rdr.ReadBool("instrumented", false);

				int pos;
				string cls = rdr.ReadName("class", UNKOWN_NAME);
				
				pos = cls.IndexOf("+<");
				if (pos > 0)
					pos = cls.LastIndexOf('.', pos);
				else
					pos = cls.LastIndexOf('.');

				if (pos > 0)
				{
					Namespace = rdr.Name(cls.Substring(0, pos));
					cls = cls.Substring(pos + 1);
				}
				else Namespace = "-";

				Class = rdr.Name(cls);
			}