/// <summary> /// ファイルからデータを読み込みます。 /// </summary> /// <param name="filePath">ファイルパス(空文字の場合、規定のファイルパスから読み込みます。)</param> public static void Load(string filePath = "") { if (string.IsNullOrEmpty(filePath)) { filePath = FilePath; } Current = filePath.Deserialize<MessageConfigration>(); }
/// <summary> /// ファイルからデータを読み込みます。 /// </summary> /// <param name="filePath">ファイルパス(空文字の場合、規定のファイルパスから読み込みます。)</param> public static void Load(string filePath = "") { if (string.IsNullOrEmpty(filePath)) { filePath = FilePath; } Current = filePath.Deserialize <MessageConfigration>(); }