public object Any(AlwaysThrowsJsScope request) =>
 throw new HttpError(HttpStatusCode.BadRequest)
 {
     ResultScope = () => JsConfig.With(new Text.Config {
         EmitLowercaseUnderscoreNames = true,
         EmitCamelCaseNames           = false,
     })
 };
Esempio n. 2
0
 public object Any(AlwaysThrowsJsScope request) =>
 throw new HttpError(HttpStatusCode.BadRequest)
 {
     ResultScope = () => JsConfig.With(new Text.Config
     {
         TextCase = TextCase.SnakeCase,
     })
 };