Ejemplo n.º 1
0
 public virtual void C(w1 w)
 {
     w.A = this.A;
     foreach (p1 current in this.A.C())
     {
         current.C(w);
     }
 }
Ejemplo n.º 2
0
 public virtual void C(w1 w)
 {
     w.A = this.J();
     foreach (global::c.a current in this.A.C())
     {
         current.C(w);
     }
 }
Ejemplo n.º 3
0
        public static void A(l l, byte[] buffer)
        {
            w1 w = new w1();

            using (MemoryStream memoryStream = new MemoryStream(buffer))
            {
                j2.A(l, memoryStream, w);
            }
        }
Ejemplo n.º 4
0
        public static void A(l l, Stream input, w1 w)
        {
            XmlReaderSettings settings = j2.A();

            using (XmlReader xmlReader = XmlReader.Create(input, settings))
            {
                xmlReader.MoveToContent();
                l.b(xmlReader, w);
                l.C(w);
            }
        }
Ejemplo n.º 5
0
 public virtual void C(w1 w)
 {
     foreach (global::c.a current in (IEnumerable <d.a>) this.A)
     {
         current.C(w);
     }
     foreach (global::c.a current2 in (IEnumerable <D.A>) this.A)
     {
         current2.C(w);
     }
 }
Ejemplo n.º 6
0
        public virtual void b(XmlReader xmlReader, w1 w)
        {
            if (this.A != null)
            {
                throw new l1();
            }
            this.A = new F2();
            if (w == null)
            {
                throw new l1();
            }
            w.A = new D1 <global::c.a>();
            bool isEmptyElement = xmlReader.IsEmptyElement;

            if (xmlReader["FORMAT"] != "1.00")
            {
                throw new l1();
            }
            this.a = int.Parse(xmlReader["ID"]);
            xmlReader.ReadStartElement("CLIPSET");
            this.A.b(xmlReader, w);
            List <global::C.b> list  = new List <global::C.b>();
            List <global::b.c> list2 = new List <global::b.c>();

            d.a[] array = this.A.A();
            for (int i = 0; i < array.Length; i++)
            {
                d.a a = array[i];
                this.A(a, list, list2);
                w.A.A(a);
            }
            this.A = list.ToArray();
            this.A = list2.ToArray();
            if (xmlReader.Name == "CONNECTIONS")
            {
                bool isEmptyElement2 = xmlReader.IsEmptyElement;
                xmlReader.ReadStartElement("CONNECTIONS");
                if (!isEmptyElement2)
                {
                    while (xmlReader.IsStartElement())
                    {
                        D.A a2 = new D.A(xmlReader, w);
                        this.A.Add(a2);
                    }
                    xmlReader.ReadEndElement();
                }
            }
            if (!isEmptyElement)
            {
                xmlReader.ReadEndElement();
            }
            this.C(w);
            this.A(this.A.A());
        }
Ejemplo n.º 7
0
        public virtual void b(XmlReader xmlReader, w1 w)
        {
            if (w == null)
            {
                throw new l1();
            }
            w.A = this.A;
            bool isEmptyElement = xmlReader.IsEmptyElement;

            if (xmlReader["FORMAT"] != "1.00")
            {
                throw new M1();
            }
            base.b("" + xmlReader["NAME"]);
            this.E("" + xmlReader["AUTHOR"]);
            if (Z1.c(w.A, new Z1("2.1.0.2")))
            {
                this.A = DateTime.ParseExact(xmlReader["CREATED"], "yyyy.MM.dd HH:mm:ss", null);
                this.a = DateTime.ParseExact(xmlReader["MODIFIED"], "yyyy.MM.dd HH:mm:ss", null);
            }
            else
            {
                if (w.A != null)
                {
                    this.A = w.A.CreationTime;
                    this.a = w.A.LastWriteTime;
                }
            }
            if (xmlReader["PROTECTION"] != null)
            {
                this.A = V.a(xmlReader["PROTECTION"]);
            }
            xmlReader.ReadStartElement("PROJECT");
            bool isEmptyElement2 = xmlReader.IsEmptyElement;

            xmlReader.ReadStartElement("DIAGRAMS");
            if (!isEmptyElement2)
            {
                while (xmlReader.IsStartElement())
                {
                    p1 p = new Q1(xmlReader, w);
                    this.E(p);
                }
                xmlReader.ReadEndElement();
            }
            if (!isEmptyElement)
            {
                xmlReader.ReadEndElement();
            }
            this.C(w);
        }
Ejemplo n.º 8
0
        public static void A(l l, string text)
        {
            FileInfo fileInfo = new FileInfo(text);

            if (!fileInfo.Exists)
            {
                throw new l1();
            }
            w1 w = new w1();

            w.A = fileInfo;
            using (Stream stream = File.OpenRead(text))
            {
                j2.A(l, stream, w);
            }
        }
Ejemplo n.º 9
0
        public void b(XmlReader xmlReader, w1 w)
        {
            if (xmlReader["FORMAT"] != "1.00")
            {
                throw new l1();
            }
            int num  = int.Parse(xmlReader["COLUMNS"]);
            int num2 = int.Parse(xmlReader["ROWS"]);

            xmlReader.ReadStartElement("LAYOUT");
            base.h(num);
            base.I(num2);
            bool isEmptyElement = xmlReader.IsEmptyElement;

            xmlReader.ReadStartElement("ENTRIES");
            if (!isEmptyElement)
            {
                while (xmlReader.IsStartElement())
                {
                    int  num3 = int.Parse(xmlReader["COLUMN"]);
                    int  num4 = int.Parse(xmlReader["ROW"]);
                    bool flag = xmlReader["ANCHOR"] == "" + true;
                    if (flag)
                    {
                        this.A(num3, num4);
                    }
                    xmlReader.ReadStartElement("ENTRY");
                    string          text        = xmlReader["SUBTYPE"];
                    Type            type        = global::d.a.d(text);
                    ConstructorInfo constructor = type.GetConstructor(new Type[]
                    {
                        typeof(XmlReader),
                        typeof(w1)
                    });
                    d.a a = (d.a)constructor.Invoke(new object[]
                    {
                        xmlReader,
                        w
                    });
                    this.A(a, num3, num4);
                    xmlReader.ReadEndElement();
                }
                xmlReader.ReadEndElement();
            }
            xmlReader.ReadEndElement();
        }
Ejemplo n.º 10
0
 public virtual void b(XmlReader xmlReader, w1 w)
 {
     if (w == null)
     {
         throw new l1();
     }
     this.A = new Z1("0.0.0.0");
     this.B = null;
     this.b = null;
     this.A = false;
     if (xmlReader["GUID"] != "2FB25471-B62C-4EE6-BD43-F819C095ACF8")
     {
         throw new M1();
     }
     if (xmlReader["FORMAT"] != "0000")
     {
         throw new M1();
     }
     if (xmlReader["APP_VERSION"] != null)
     {
         this.A = new Z1(xmlReader["APP_VERSION"]);
     }
     w.A = this.A;
     if (Z1.c(this.A(), new Z1("2.1.0.2")))
     {
         this.A = true;
         this.B = xmlReader["CHECKSUM"];
         if (Z1.a(this.A(), new Z1("2.1.0.2")))
         {
             this.B = o.A(ulong.Parse(this.B));
         }
     }
     xmlReader.ReadStartElement("FRAME");
     this.A = new h2(xmlReader, w);
     if (this.A)
     {
         X1     x     = new X1();
         byte[] array = j2.A(this.A, x);
         this.b = new o(array).ToString();
         if (this.b != this.B)
         {
             if (Z1.b(this.A, j1.A()))
             {
                 throw new N1(this.A, j1.A());
             }
             if (K1.A().A().DefaultAuthorName != "PAPREPAIR")
             {
                 throw new m1();
             }
         }
     }
     using (IEnumerator <p1> enumerator = this.A().E().GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             Q1 q = (Q1)enumerator.Current;
             q.A(this.A);
         }
     }
     xmlReader.ReadEndElement();
     if (!xmlReader.EOF)
     {
         throw new M1();
     }
 }
Ejemplo n.º 11
0
 public virtual void C(w1 w)
 {
     this.A().C(w);
 }
Ejemplo n.º 12
0
 public void C(w1 w)
 {
 }
Ejemplo n.º 13
0
 public h2(XmlReader xmlReader, w1 w)
 {
     this.E();
     this.b(xmlReader, w);
 }