Ejemplo n.º 1
0
 public static bool LoadFromFile(string fileName, out DirectedGraphStyle obj)
 {
     System.Exception exception = null;
     return LoadFromFile(fileName, out obj, out exception);
 }
Ejemplo n.º 2
0
 public static bool LoadFromFile(string fileName, out DirectedGraphStyle obj, out System.Exception exception)
 {
     return LoadFromFile(fileName, Encoding.UTF8, out obj, out exception);
 }
Ejemplo n.º 3
0
 public static bool Deserialize(string xml, out DirectedGraphStyle obj)
 {
     System.Exception exception = null;
     return Deserialize(xml, out obj, out exception);
 }
Ejemplo n.º 4
0
 public static bool LoadFromFile(string fileName, System.Text.Encoding encoding, out DirectedGraphStyle obj, out System.Exception exception)
 {
     exception = null;
     obj = default(DirectedGraphStyle);
     try
     {
         obj = LoadFromFile(fileName, encoding);
         return true;
     }
     catch (System.Exception ex)
     {
         exception = ex;
         return false;
     }
 }
Ejemplo n.º 5
0
 public static bool Deserialize(string xml, out DirectedGraphStyle obj, out System.Exception exception)
 {
     exception = null;
     obj = default(DirectedGraphStyle);
     try
     {
         obj = Deserialize(xml);
         return true;
     }
     catch (System.Exception ex)
     {
         exception = ex;
         return false;
     }
 }