public static DgmlDoc GetFromFile(string filePath) { var newDoc = new DgmlDoc(); newDoc.LoadFromFile(filePath); return(newDoc); }
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)); } }