예제 #1
0
        public MessageWriter(FrameWriter frameWriter, ISerializeMessages serializer)
        {
            Verify.NotNull(frameWriter, "frameWriter");
            Verify.NotNull(serializer, "serializer");

            this.frameWriter = frameWriter;
            this.serializer = serializer;
        }
예제 #2
0
 public MessageWriter(FrameWriter frameWriter)
     : this(frameWriter, new JsonDataContractSerializer())
 {
 }