Метод | Описание | |
---|---|---|
Metadata ( string baseUrl = "metadata" ) : void |
Set the location where metadata is served from
|
|
NsConfiguration ( ) : System |
Creates a new instance of configuration. ApplicationTitle is not set.
|
|
NsConfiguration ( |
Creates a new instance of configuration. ApplicationTitle is set to the calling assembly name
|
|
RegisterControllerAssembly ( |
Register an assembly as containing controller methods to be included in metadata output. Controllers must be inherited from IServiceController.
|
|
RegisterModelAssembly ( |
Registers all types in the givven assembly as models
|
|
RegisterModelAssembly ( |
Reegisters all types in the given assembly with the specified namespace as models to be included in metadata output. This method can be called multiple times to register different namespaces within the same assembly.
|
public Metadata ( string baseUrl = "metadata" ) : void | ||
baseUrl | string | |
Результат | void |
public NsConfiguration ( |
||
callingAssembly | ||
Результат | System |
public RegisterControllerAssembly ( |
||
assembly | ||
Результат | void |
public RegisterModelAssembly ( |
||
assembly | ||
Результат | void |
public RegisterModelAssembly ( |
||
assembly | ||
@namespace | string | |
Результат | void |