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)); }
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)); }
public object ExtenderNames() { EnvDTE.ObjectExtenders extenderService = (EnvDTE.ObjectExtenders) this.Node.GetService(typeof(EnvDTE.ObjectExtenders)); return(extenderService.GetExtenderNames(this.ExtenderCATID(), this)); }