mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-05 14:35:43 +00:00
various markdown updates
This commit is contained in:
parent
984c241a09
commit
668138fd78
4 changed files with 22 additions and 19 deletions
|
|
@ -92,7 +92,7 @@ namespace WTelegram
|
|||
FromSchema(schema, outputCs);
|
||||
}
|
||||
|
||||
public void FromSchema(SchemaJson schema, string outputCs)
|
||||
internal void FromSchema(SchemaJson schema, string outputCs)
|
||||
{
|
||||
currentJson = Path.GetFileNameWithoutExtension(outputCs);
|
||||
using var sw = new StreamWriter(outputCs, false, Encoding.UTF8);
|
||||
|
|
@ -789,13 +789,13 @@ namespace WTelegram
|
|||
}
|
||||
|
||||
#pragma warning disable IDE1006 // Naming Styles
|
||||
public class SchemaJson
|
||||
internal class SchemaJson
|
||||
{
|
||||
public List<Constructor> constructors { get; set; }
|
||||
public List<Method> methods { get; set; }
|
||||
}
|
||||
|
||||
public class Constructor
|
||||
internal class Constructor
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string predicate { get; set; }
|
||||
|
|
@ -806,7 +806,7 @@ namespace WTelegram
|
|||
public int ID => string.IsNullOrEmpty(id) ? 0 : int.Parse(id);
|
||||
}
|
||||
|
||||
public class Param
|
||||
internal class Param
|
||||
{
|
||||
public string name { get; set; }
|
||||
public string type { get; set; }
|
||||
|
|
@ -814,7 +814,7 @@ namespace WTelegram
|
|||
public override int GetHashCode() => HashCode.Combine(name, type);
|
||||
}
|
||||
|
||||
public class Method
|
||||
internal class Method
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string method { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue