示例#1
0
 /// <summary>
 /// Returns the factory that is used to create widgets (or compounds).
 /// The factory is created the first time it's required.
 /// </summary>
 /// <seealso cref="IWidget"/>
 /// <seealso cref="IWidgetCompound"/>
 /// <returns>Factory for creating widgets or compounds</returns>
 public IWidgetFactory GetWidgetFactory()
 {
     return(_widgetFactory ?? (_widgetFactory = _uiProvider.GetWidgetFactory()));
 }