title: How to get protobuf-net serializer nonstatic instance?
body: <p>I use protobuf-net serializer like this:</p>
  
  <pre><code>ProtoBuf.Serializer.Serialize(fileStream, data);
  </code></pre>
  
  <p>How do I get a non-static serializer instance? I want to use it something like this:</p>
  
  <pre><code>var myProtobufNetSerializer = MyProtobufNetSerializerFactory();
  myProtobufNetSerializer.Serialize(fileStream, data);
  </code></pre>
  
  <h3>Edit:</h3>
  
  <p>Marc Gravell, the protobuf-net's author, replied (to <a href="http://blog.marcgravell.com/2011/05/protobuf-net-v2-beta.html?showComment=1312394581676#c294543940248490355" rel="nofollow">this question</a>) in <a href="http://blog.marcgravell.com/2011/05/protobuf-net-v2-beta.html?showComment=1312397400001#c4105202691328149305" rel="nofollow">his answer that it's possible</a>, but I couldn't find how...</p>