JsModelConfig

Currently, you only have to define 3 properties:
  • string JsNamespace
  • bool UseCache
  • bool ScanJsModels

If you like Fluent-Interfaces, you can create your instance of JsModelConfig with the FluentInterface.
Here's an example usage:
new JsModelFluentConfig()
        .UseDefaultNamespace("app.models")
        .ScanForViewModels()
        .AndCacheOutput()

Last edited Jul 3, 2013 at 4:44 PM by _RichardFrick, version 1

Comments

No comments yet.