create
Defines an item with the given name and type T. The item is not created immediately, but is instead created as it is required.
Parameters
The name.
Defines an item with the given name and type T. The item is not created immediately, but is instead created as it is required.
The given action is invoked to configure the item when the item is required.
Parameters
The name.
An action that initialises the item. The action is executed when the item is required.
Defines an item with the given name and type. The item is not created immediately, but is instead created as it is required.
Parameters
The name.
Defines an item with the given name and type. The item is not created immediately, but is instead created as it is required.
The given action is invoked to configure the item when the item is required.
Parameters
The name.
An action that initialises the item. The action is executed when the item is required.