apply resharper's code style

This commit is contained in:
Viktor Borisov 2017-04-13 13:38:01 +07:00
parent 1697db9d7f
commit 7fad829dd2
776 changed files with 14393 additions and 24502 deletions

View file

@ -1,57 +1,43 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Auth
{
[TLObject(-841733627)]
[TLObject(-841733627)]
public class TLRequestBindTempAuthKey : TLMethod
{
public override int Constructor
public override int Constructor => -841733627;
public long perm_auth_key_id { get; set; }
public long nonce { get; set; }
public int expires_at { get; set; }
public byte[] encrypted_message { get; set; }
public bool Response { get; set; }
public void ComputeFlags()
{
get
{
return -841733627;
}
}
public long perm_auth_key_id {get;set;}
public long nonce {get;set;}
public int expires_at {get;set;}
public byte[] encrypted_message {get;set;}
public bool Response{ get; set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
perm_auth_key_id = br.ReadInt64();
nonce = br.ReadInt64();
expires_at = br.ReadInt32();
encrypted_message = BytesUtil.Deserialize(br);
nonce = br.ReadInt64();
expires_at = br.ReadInt32();
encrypted_message = BytesUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Constructor);
bw.Write(perm_auth_key_id);
bw.Write(nonce);
bw.Write(expires_at);
BytesUtil.Serialize(encrypted_message,bw);
bw.Write(nonce);
bw.Write(expires_at);
BytesUtil.Serialize(encrypted_message, bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
}
public override void deserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
}
}
}
}