コード例 #1
0
 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));
 }
コード例 #2
0
 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));
 }