コード例 #1
0
        public object ExtenderNames()
        {
            EnvDTE.ObjectExtenders extenderService = (EnvDTE.ObjectExtenders) this.HierarchyNode.GetService(typeof(EnvDTE.ObjectExtenders));
            Utilities.CheckNotNull(extenderService, "Could not get the ObjectExtenders object from the services exposed by this property object");

            return(extenderService.GetExtenderNames(this.ExtenderCATID, this));
        }
コード例 #2
0
 public object ExtenderNames()
 {
     EnvDTE.ObjectExtenders extenderService = (EnvDTE.ObjectExtenders) this.Node.GetService(typeof(EnvDTE.ObjectExtenders));
     Debug.Assert(extenderService != null, "Could not get the ObjectExtenders object from the services exposed by this property object");
     if (extenderService == null)
     {
         throw new InvalidOperationException();
     }
     return(extenderService.GetExtenderNames(this.ExtenderCATID, this));
 }
コード例 #3
0
ファイル: NodeProperties.cs プロジェクト: yuva2achieve/dot42
 public object ExtenderNames()
 {
     EnvDTE.ObjectExtenders extenderService = (EnvDTE.ObjectExtenders) this.Node.GetService(typeof(EnvDTE.ObjectExtenders));
     return(extenderService.GetExtenderNames(this.ExtenderCATID(), this));
 }