public void CollectAndSerialize() { using (var stream = new NullStream()) using (var serializer = new TextSerializer(stream, leaveOpen: false)) _registry.CollectAndSerialize(serializer); }
public void CollectAndSerialize() { using (var stream = new NullStream()) using (var serializer = new TextSerializer(stream, leaveOpen: false)) _registry.CollectAndSerialize(serializer); }