private ISwPropertyManagerPage <TData> CreatePropertyManagerPage <TData>(Type handlerType) { var page = new SwPropertyManagerPage <TData>(Application, m_SvcProvider, handlerType); m_Disposables.Add(page); return(page); }
private ISwPropertyManagerPage <TData> CreatePropertyManagerPage <TData>(Type handlerType, CreateDynamicControlsDelegate createDynCtrlHandler) { var handler = m_SvcProvider.GetService <IPropertyPageHandlerProvider>().CreateHandler(Application.Sw, handlerType); var page = new SwPropertyManagerPage <TData>(Application, m_SvcProvider, handler, createDynCtrlHandler); m_Disposables.Add(page); return(page); }