Exemple #1
0
 // TODO: Make entry endpoint configurable
 private CSharpClass GenerateEntryEndpoint()
 => new CSharpClass(_naming.EndpointType("myEntry", new Endpoint()))
 {
     BaseClass = new CSharpClassConstruction(new CSharpIdentifier("TypedRest.Endpoints", "EntryEndpoint"))
     {
         Parameters = { new CSharpParameter(CSharpIdentifier.Uri, "uri") }
     }
 };