Working on C# client code generation.
This commit is contained in:
47
Rest.Net.Example/Client.cs
Normal file
47
Rest.Net.Example/Client.cs
Normal file
@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MontoyaTech.Rest.Net.Example
|
||||
{
|
||||
public class Client
|
||||
{
|
||||
public string BaseUrl = null;
|
||||
|
||||
public TestFunctions Test;
|
||||
|
||||
public class TestFunctions
|
||||
{
|
||||
public Client Client;
|
||||
|
||||
public TestFunctions(Client client)
|
||||
{
|
||||
this.Client = client;
|
||||
}
|
||||
|
||||
public void Status()
|
||||
{
|
||||
}
|
||||
|
||||
public void Add()
|
||||
{
|
||||
}
|
||||
|
||||
public void Signup()
|
||||
{
|
||||
}
|
||||
|
||||
public void Json()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public Client(string baseUrl)
|
||||
{
|
||||
this.BaseUrl = baseUrl;
|
||||
this.Test = new TestFunctions(this);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user