예제 #1
0
 public DtoChannelTest()
 {
     _pipedTwoChannels = new PipedTwoChannels();
     _typeSerializers  = new TypeSerializers();
     _first            = new DtoChannel(_pipedTwoChannels.First, _typeSerializers);
     _second           = new DtoChannel(_pipedTwoChannels.Second, _typeSerializers);
 }
예제 #2
0
 public void Setup()
 {
     _pipedTwoChannels = new PipedTwoChannels();
     _typeSerializers = new TypeSerializers();
     _first = new DtoChannel(_pipedTwoChannels.First, _typeSerializers);
     _second = new DtoChannel(_pipedTwoChannels.Second, _typeSerializers);
 }
예제 #3
0
        public DtoChannelTest()
        {
            _pipedTwoChannels = new PipedTwoChannels();
            var options = new TypeSerializersOptions {
                IgnoreIIndirect = false
            };

            _first  = new DtoChannel(_pipedTwoChannels.First, new TypeSerializers(options: options));
            _second = new DtoChannel(_pipedTwoChannels.Second, new TypeSerializers(options: options));
        }