public TaskTarsConvertTest() { var test = new TestTarsConvert(); sut = test.ConvertRoot; headHandler = test.HeadHandler; }
public DictionaryTarsConvertTest() { var test = new TestTarsConvert(); sut = test.ConvertRoot; headHandler = test.HeadHandler; }
public ByteBufferTarsConvertTest() { var test = new TestTarsConvert(); sut = test.ConvertRoot; headHandler = test.HeadHandler; }
public ByteTarsConvertTest() { var test = new TestTarsConvert(); sut = test.ConvertRoot; convert = test.Provider.GetRequiredService <ITarsConvert <byte> >(); headHandler = test.HeadHandler; }
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; }
public StructTarsConvert(ITarsConvertRoot convert, ITarsHeadHandler headHandler) { this.convert = convert; this.headHandler = headHandler; var ps = typeof(T).GetProperties() .Where(i => i.CanRead && i.CanWrite && i.GetReflector().IsDefined <TarsStructPropertyAttribute>()) .Select(i => (property: i.GetReflector(), info: i.GetReflector().GetCustomAttribute <TarsStructPropertyAttribute>())) .OrderBy(i => i.info.Order); foreach (var(property, info) in ps) { properties.Add(info.Order, property); } }
public TarsHeadHandlerTest() { var test = new TestTarsConvert(); sut = test.HeadHandler; }
public StringTarsConvert(ITarsHeadHandler headHandler) { this.headHandler = headHandler; }
public DoubleTarsConvert(ITarsHeadHandler headHandler) { this.headHandler = headHandler; }
public FloatTarsConvert(ITarsHeadHandler headHandler) { this.headHandler = headHandler; }
public ShortTarsConvert(ITarsConvert <byte> convert, ITarsHeadHandler headHandler) { this.convert = convert; this.headHandler = headHandler; }
public UniAttributeV2Test() { var test = new TestTarsConvert(); headHandler = test.HeadHandler; }
public ByteBufferTarsConvert(ITarsHeadHandler headHandler) { this.headHandler = headHandler; }
public ListInterfaceTarsConvert(ITarsConvert <T> convert, ITarsHeadHandler headHandler) { this.convert = convert; this.headHandler = headHandler; }
public IntTarsConvert(ITarsConvert <short> convert, ITarsHeadHandler headHandler) { this.convert = convert; this.headHandler = headHandler; }
public UniAttributeV3(ITarsConvertRoot convert, ITarsHeadHandler headHandler) { this.convert = convert; this.headHandler = headHandler; }
public DictionaryInterfaceTarsConvert(ITarsConvertRoot convert, ITarsHeadHandler headHandler) { this.convert = convert; this.headHandler = headHandler; }
public LongTarsConvert(ITarsConvert <int> convert, ITarsHeadHandler headHandler) { this.convert = convert; this.headHandler = headHandler; }