Generator Must Respect MS .NET API guidelines

This commit is contained in:
Afshin Arani 2017-11-09 02:35:15 -08:00 committed by Andres G. Aragoneses
parent 3ba3ea53fd
commit d769dd3c2f
646 changed files with 7213 additions and 7166 deletions

View file

@ -18,8 +18,8 @@ namespace TeleSharp.TL.Account
}
}
public byte[] password_hash { get; set; }
public int period { get; set; }
public byte[] PasswordHash { get; set; }
public int Period { get; set; }
public Account.TLTmpPassword Response { get; set; }
@ -30,19 +30,19 @@ namespace TeleSharp.TL.Account
public override void DeserializeBody(BinaryReader br)
{
password_hash = BytesUtil.Deserialize(br);
period = br.ReadInt32();
PasswordHash = BytesUtil.Deserialize(br);
Period = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
BytesUtil.Serialize(password_hash, bw);
bw.Write(period);
BytesUtil.Serialize(PasswordHash, bw);
bw.Write(Period);
}
public override void deserializeResponse(BinaryReader br)
public override void DeserializeResponse(BinaryReader br)
{
Response = (Account.TLTmpPassword)ObjectUtils.DeserializeObject(br);