Ejemplo n.º 1
0
        public static async Task <GherkinFile> For(Feature feature, Stream stream)
        {
            var file = new GherkinFile(stream);
            await file.Write(feature);

            return(file);
        }
Ejemplo n.º 2
0
 private async Task CreateFileFor(Feature feature) => _file = await GherkinFile.For(feature, _stream);