template<class DerivedWidgetType, class> [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< DerivedWidgetType > TakeAndCacheWidget ( WidgetType * Key, [ConstructMethodType](API\Plugins\CommonUI\TWidgetFactory\ConstructMethodType) ConstructMethod )