スタイル: コーディング規約に準拠したコードフォーマットの適用(this.の明示、空白スタイルの統一)
- 自インスタンスメンバーアクセスへの this. 付与(28ファイル) - .editorconfig に準拠したインデント・波括弧・空白スタイルの適用 - UTF-8 (BOMあり)、CRLF改行コード、行末空白除去の整合性検証
This commit is contained in:
1 parent
2fa40c950f
commit
ae86b53147
28 files changed
+1362
-1380
No files matched your search
@@ -270,15 +270,17 @@ namespace GameLauncher.Services.Codecs
|
||||
/// <returns>バイナリ情報プロパティのリスト</returns>
|
||||
private List<SaveDataPropertyEntry> ExtractBinaryPropertiesFallback(byte[] bytes)
|
||||
{
|
||||
var list = new List<SaveDataPropertyEntry>();
|
||||
list.Add(new SaveDataPropertyEntry
|
||||
var list = new List<SaveDataPropertyEntry>
|
||||
{
|
||||
Key = "FileSize",
|
||||
Category = "ファイル情報",
|
||||
Type = "Int",
|
||||
EditValue = bytes.Length.ToString(),
|
||||
Description = "ファイルサイズ (bytes)"
|
||||
});
|
||||
new SaveDataPropertyEntry
|
||||
{
|
||||
Key = "FileSize",
|
||||
Category = "ファイル情報",
|
||||
Type = "Int",
|
||||
EditValue = bytes.Length.ToString(),
|
||||
Description = "ファイルサイズ (bytes)"
|
||||
}
|
||||
};
|
||||
|
||||
// 先頭 128 バイトから 4 バイト整数と ASCII 文字列を検出してプロパティ化
|
||||
int limit = Math.Min(bytes.Length - 4, 128);
|
||||
@@ -388,7 +390,7 @@ namespace GameLauncher.Services.Codecs
|
||||
try
|
||||
{
|
||||
// ドットと角括弧でパスを分割
|
||||
var parts = path.Split(new[] { '.', '[', ']' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
var parts = path.Split(['.', '[', ']'], StringSplitOptions.RemoveEmptyEntries);
|
||||
JsonNode? current = root;
|
||||
|
||||
for (int i = 0; i < parts.Length - 1; i++)
|
||||
|
||||
Reference in new issue
Block a user