Example #1
0
        public ByteTarsConvertTest()
        {
            var test = new TestTarsConvert();

            sut         = test.ConvertRoot;
            convert     = test.Provider.GetRequiredService <ITarsConvert <byte> >();
            headHandler = test.HeadHandler;
        }
Example #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;
 }
Example #3
0
 public TaskResultTarsConvert(ITarsConvert <T> convert)
 {
     this.convert = convert;
 }
Example #4
0
 public BoolTarsConvert(ITarsConvert <byte> convert)
 {
     this.convert = convert;
 }
Example #5
0
 public LongTarsConvert(ITarsConvert <int> convert, ITarsHeadHandler headHandler)
 {
     this.convert     = convert;
     this.headHandler = headHandler;
 }
Example #6
0
 public ShortTarsConvert(ITarsConvert <byte> convert, ITarsHeadHandler headHandler)
 {
     this.convert     = convert;
     this.headHandler = headHandler;
 }
 public ValueTaskTarsConvert(ITarsConvert <T> convert)
 {
     this.convert = convert;
 }
Example #8
0
 public NullableTarsConvert(ITarsConvert <T> convert)
 {
     this.convert = convert;
 }
Example #9
0
 public ListInterfaceTarsConvert(ITarsConvert <T> convert, ITarsHeadHandler headHandler)
 {
     this.convert     = convert;
     this.headHandler = headHandler;
 }
Example #10
0
 public IntTarsConvert(ITarsConvert <short> convert, ITarsHeadHandler headHandler)
 {
     this.convert     = convert;
     this.headHandler = headHandler;
 }