public static CodeMemberMethod Create(SharedContext sharedContext, WebApiDescription description, Poco2Client.Poco2CsGen poco2CsGen, bool stringAsString, bool forAsync, bool diFriendly, bool useEnsureSuccessStatusCodeEx) { var gen = new ClientApiFunctionGen(sharedContext, description, poco2CsGen, stringAsString, forAsync, diFriendly, useEnsureSuccessStatusCodeEx); return(gen.CreateApiFunction()); }
public static CodeMemberMethod Create(SharedContext sharedContext, WebApiDescription description, Fonlow.Poco2Client.IPoco2Client poco2CsGen, bool forAsync = false) { var gen = new ClientApiFunctionGen(sharedContext, description, poco2CsGen); return(gen.CreateApiFunction(forAsync)); }
public static CodeMemberMethod Create(WebApiDescription description, Poco2Client.Poco2CsGen poco2CsGen, CodeGenOutputs settings, bool forAsync) { var gen = new ClientApiFunctionGen(description, poco2CsGen, settings, forAsync); return(gen.CreateApiFunction()); }