Exemple #1
0
 public static T Deserialize <T>([NotNull] string fileName, IExceptionHandler exceptionHandler)
 {
     return(XmlIO.Deserialize <T>(fileName, exceptionHandler.HandleException));
 }
Exemple #2
0
 public static void Serialize <T>([NotNull] T data, [NotNull] string filename, IExceptionHandler exceptionHandler)
 {
     XmlIO.Serialize <T>(data, filename, exceptionHandler.HandleException);
 }