示例#1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="TLRig" /> class.
 /// </summary>
 /// <param name="isDurovMode">
 ///     In Durov mode Bytes is an alias for String type hence both serializers have the same
 ///     constructor numbers.
 /// </param>
 public TLRig(bool isDurovMode)
 {
     _serializersBucket = new TLSerializersBucket(isDurovMode);
 }
示例#2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="TLRig" /> class.
 /// </summary>
 /// <param name="serializersBucket">Serializers bucket.</param>
 public TLRig(TLSerializersBucket serializersBucket)
 {
     _serializersBucket = serializersBucket;
 }
示例#3
0
文件: TLRig.cs 项目: andri-ys/SharpTL
 /// <summary>
 ///     Initializes a new instance of the <see cref="TLRig" /> class.
 /// </summary>
 public TLRig()
 {
     _serializersBucket = new TLSerializersBucket();
 }