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.Channels
}
}
public TLAbsInputChannel channel { get; set; }
public string about { get; set; }
public TLAbsInputChannel Channel { get; set; }
public string About { get; set; }
public bool Response { get; set; }
@ -30,19 +30,19 @@ namespace TeleSharp.TL.Channels
public override void DeserializeBody(BinaryReader br)
{
channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
about = StringUtil.Deserialize(br);
Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
About = StringUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(channel, bw);
StringUtil.Serialize(about, bw);
ObjectUtils.SerializeObject(Channel, bw);
StringUtil.Serialize(About, bw);
}
public override void deserializeResponse(BinaryReader br)
public override void DeserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);