Пример #1
0
 public async Task <BuildSchema> LoadSchema() => BuildSchema.Parse(
     await RecordBuildSchema(() => File.ReadAllTextAsync(SchemaFile, Globals.HeliumEncoding))
     );
Пример #2
0
        public async Task <BuildSchema> LoadSchema()
        {
            var text = await File.ReadAllTextAsync(Path.Combine(extractedDir, ArchiveRecorder.BuildSchemaPath));

            return(BuildSchema.Parse(text));
        }