public ISmartPartInfo GetSmartPartInfo(Type smartPartInfoType) { // The containing smart part must add the ISmartPartInfo to its implemented interfaces in order for contained smart part infos to work. Microsoft.Practices.CompositeUI.SmartParts.ISmartPartInfoProvider ensureProvider = this; return(this.infoProvider.GetSmartPartInfo(smartPartInfoType)); }
public Microsoft.Practices.CompositeUI.SmartParts.ISmartPartInfo GetSmartPartInfo(Type smartPartInfoType) { // Implement ISmartPartInfoProvider in the containing smart part. Required in order for contained smart part infos to work. Microsoft.Practices.CompositeUI.SmartParts.ISmartPartInfoProvider ensureProvider = this; return(this.infoProvider.GetSmartPartInfo(smartPartInfoType)); }