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,11 +18,11 @@ namespace TeleSharp.TL
}
}
public TLAbsInputGeoPoint geo_point { get; set; }
public string title { get; set; }
public string address { get; set; }
public string provider { get; set; }
public string venue_id { get; set; }
public TLAbsInputGeoPoint GeoPoint { get; set; }
public string Title { get; set; }
public string Address { get; set; }
public string Provider { get; set; }
public string VenueId { get; set; }
public void ComputeFlags()
@ -32,22 +32,22 @@ namespace TeleSharp.TL
public override void DeserializeBody(BinaryReader br)
{
geo_point = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br);
title = StringUtil.Deserialize(br);
address = StringUtil.Deserialize(br);
provider = StringUtil.Deserialize(br);
venue_id = StringUtil.Deserialize(br);
GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br);
Title = StringUtil.Deserialize(br);
Address = StringUtil.Deserialize(br);
Provider = StringUtil.Deserialize(br);
VenueId = StringUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(geo_point, bw);
StringUtil.Serialize(title, bw);
StringUtil.Serialize(address, bw);
StringUtil.Serialize(provider, bw);
StringUtil.Serialize(venue_id, bw);
ObjectUtils.SerializeObject(GeoPoint, bw);
StringUtil.Serialize(Title, bw);
StringUtil.Serialize(Address, bw);
StringUtil.Serialize(Provider, bw);
StringUtil.Serialize(VenueId, bw);
}
}