Exemplo n.º 1
0
        public ByteTarsConvertTest()
        {
            var test = new TestTarsConvert();

            sut         = test.ConvertRoot;
            convert     = test.Provider.GetRequiredService <ITarsConvert <byte> >();
            headHandler = test.HeadHandler;
        }
Exemplo n.º 2
0
 public RequestTarsConvert(ITarsConvert <short> shortConvert, ITarsConvert <int> intConvert,
                           ITarsConvert <byte> byteConvert, ITarsConvert <string> stringConvert,
                           IDictionaryInterfaceTarsConvert <string, string> dictConvert, ITarsConvert <IByteBuffer> bufferConvert,
                           ITarsConvertRoot convertRoot, IRpcMetadata rpcMetadata, ITarsHeadHandler headHandler)
 {
     this.shortConvert  = shortConvert;
     this.intConvert    = intConvert;
     this.byteConvert   = byteConvert;
     this.stringConvert = stringConvert;
     this.dictConvert   = dictConvert;
     this.bufferConvert = bufferConvert;
     this.convertRoot   = convertRoot;
     this.rpcMetadata   = rpcMetadata;
     this.headHandler   = headHandler;
 }
Exemplo n.º 3
0
 public TaskResultTarsConvert(ITarsConvert <T> convert)
 {
     this.convert = convert;
 }
Exemplo n.º 4
0
 public BoolTarsConvert(ITarsConvert <byte> convert)
 {
     this.convert = convert;
 }
Exemplo n.º 5
0
 public LongTarsConvert(ITarsConvert <int> convert, ITarsHeadHandler headHandler)
 {
     this.convert     = convert;
     this.headHandler = headHandler;
 }
Exemplo n.º 6
0
 public ShortTarsConvert(ITarsConvert <byte> convert, ITarsHeadHandler headHandler)
 {
     this.convert     = convert;
     this.headHandler = headHandler;
 }
Exemplo n.º 7
0
 public ValueTaskTarsConvert(ITarsConvert <T> convert)
 {
     this.convert = convert;
 }
Exemplo n.º 8
0
 public NullableTarsConvert(ITarsConvert <T> convert)
 {
     this.convert = convert;
 }
Exemplo n.º 9
0
 public ListInterfaceTarsConvert(ITarsConvert <T> convert, ITarsHeadHandler headHandler)
 {
     this.convert     = convert;
     this.headHandler = headHandler;
 }
Exemplo n.º 10
0
 public IntTarsConvert(ITarsConvert <short> convert, ITarsHeadHandler headHandler)
 {
     this.convert     = convert;
     this.headHandler = headHandler;
 }