Пример #1
0
 private string SerializeFeature(Feature feature)
 {
     using (var writer = new Utf8StringWriter())
     {
         SerializeFeature(feature, writer);
         return writer.ToString();
     }
 }
Пример #2
0
 private string SerializeDocument(SpecFlowDocument feature)
 {
     using (var writer = new Utf8StringWriter())
     {
         SerializeDocument(feature, writer);
         return writer.ToString();
     }
 }