Example #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);
 }
Example #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;
 }
Example #3
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="TLRig" /> class.
 /// </summary>
 public TLRig()
 {
     _serializersBucket = new TLSerializersBucket();
 }