Method
registerResource(_:alias:)
Registers a resource directly with the execution engine.
func registerResource(_ resource: Resource, alias: String)
Parameters
resource-
The resource containing the model objects
alias-
The alias to use for the model
Discussion
This is a convenience method that wraps a Resource in a lightweight IModel implementation for use in navigation and UUID resolution.