/// <summary> /// Loads from file. /// </summary> /// <param name="filePath">The file path.</param> /// <param name="fileType">Type of the file.</param> public static void LoadFromFile(string filePath, TSFileTypes fileType) { switch (fileType) { case TSFileTypes.FileTypeXml: LoadFromXmlFile(filePath); break; case TSFileTypes.FileTypeDat: break; default: throw new ArgumentOutOfRangeException(nameof(fileType), fileType, null); } }
/// <summary> /// Saves to file. /// </summary> /// <param name="filePath">The file path.</param> /// <param name="fileType">Type of the file.</param> public static void SaveToFile(string filePath, TSFileTypes fileType) { }