public static Settings WithActionNameStrategy(ActionNameStrategy ans) { return(new Settings() { ClientNamespace = "MyNS", ContainerClassName = "MyClient", ContainerNameStrategy = ContainerNameStrategy.None, ActionNameStrategy = ans, DataAnnotationsToComments = true, HandleHttpRequestHeaders = true, }); }
public static Settings WithActionNameStrategy(ActionNameStrategy ans) { return(new Settings() { ClientNamespace = "MyNS", ContainerClassName = "Misc", ContainerNameStrategy = ContainerNameStrategy.None, ActionNameStrategy = ans, GenerateBothAsyncAndSync = true, DecorateDataModelWithSerializable = true, UseEnsureSuccessStatusCodeEx = true, DataAnnotationsEnabled = true, DataAnnotationsToComments = true, HandleHttpRequestHeaders = true, }); }