Exemple #1
0
 private static void CheckExtension(String fileExt, OutputExtension extension)
 {
     if (String.Equals(fileExt, extension.Value(), StringComparison.InvariantCultureIgnoreCase))
     {
         throw new ArgumentException("Output filetype is the same as the current filetype.");
     }
 }