Method | Description | |
---|---|---|
Create ( string fullName, string bucketCode ) : IUserDefinedWidget |
Create a new widget with the given parameters. This is used to instantiate the IUserDefinedWidgets. These can only be created after receiving the application state.
|
|
PrepareWidgets ( IEnumerable |
Prepares the widgets.
|
|
Remove ( IUserDefinedWidget widget ) : void |
Removes the specified widget.
|
|
WidgetService ( [ widgetRepo, [ logger ) : System |
Initializes a new instance of the WidgetService class.
|
Method | Description | |
---|---|---|
CreateMultiInstanceWidget ( |
public Create ( string fullName, string bucketCode ) : IUserDefinedWidget | ||
fullName | string | The full type name of the widget type. |
bucketCode | string | A unique identifier for the instance |
return | IUserDefinedWidget |
public PrepareWidgets ( IEnumerable |
||
storedStates | IEnumerable |
The stored application state for widgets. |
return | IEnumerable |
public Remove ( IUserDefinedWidget widget ) : void | ||
widget | IUserDefinedWidget | |
return | void |
public WidgetService ( [ widgetRepo, [ logger ) : System | ||
widgetRepo | [ | The widget repository. |
logger | [ | The logger. |
return | System |