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