예제 #1
0
 public void Write(Pip pip)
 {
     Contract.Requires(pip != null);
     Start <Pip>();
     pip.Serialize(this);
     End();
 }
예제 #2
0
 private void SerializePip(PipWriter writer, Pip pip)
 {
     pip.Serialize(writer);
     pip.PipId.Serialize(writer);
     Stats.Increment(pip, serialize: true);
 }