Beispiel #1
0
        public static DgmlDoc GetFromFile(string filePath)
        {
            var newDoc = new DgmlDoc();

            newDoc.LoadFromFile(filePath);
            return(newDoc);
        }
Beispiel #2
0
 public override bool Equals(object obj)
 {
     if (obj is DgmlDoc)
     {
         DgmlDoc dgmlObj = (DgmlDoc)obj;
         return(this.ToString().Equals(dgmlObj.ToString()));
     }
     else
     {
         return(base.Equals(obj));
     }
 }