PFWidgetFactoryGetWidget Method (PFSite, String, String, JObject) |
Resolves the
PFWidgetBase derived class matching the given global name and returns
a new instance from the given the settings.
Namespace:
Packflow.Core.Widgets
Assembly:
MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax public static PFWidgetBase GetWidget(
PFSite site,
string globalName,
string id,
JObject settings = null
)
Parameters
- site
- Type: Packflow.CorePFSite
The current site - globalName
- Type: SystemString
The widget global name - id
- Type: SystemString
The widget id - settings (Optional)
- Type: JObject
The widget serialized settings
Return Value
Type:
PFWidgetBaseExceptions See Also