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
}
}
public string currency { get; set; }
public long total_amount { get; set; }
public string Currency { get; set; }
public long TotalAmount { get; set; }
public void ComputeFlags()
@ -29,16 +29,16 @@ namespace TeleSharp.TL
public override void DeserializeBody(BinaryReader br)
{
currency = StringUtil.Deserialize(br);
total_amount = br.ReadInt64();
Currency = StringUtil.Deserialize(br);
TotalAmount = br.ReadInt64();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(currency, bw);
bw.Write(total_amount);
StringUtil.Serialize(Currency, bw);
bw.Write(TotalAmount);
}
}