コード例 #1
0
 public async Task <BuildSchema> LoadSchema() => BuildSchema.Parse(
     await RecordBuildSchema(() => File.ReadAllTextAsync(SchemaFile, Globals.HeliumEncoding))
     );
コード例 #2
0
ファイル: ReplayRecorder.cs プロジェクト: helium-build/helium
        public async Task <BuildSchema> LoadSchema()
        {
            var text = await File.ReadAllTextAsync(Path.Combine(extractedDir, ArchiveRecorder.BuildSchemaPath));

            return(BuildSchema.Parse(text));
        }