コード例 #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();
 }