int IVsCfgProvider2.AdviseCfgProviderEvents(IVsCfgProviderEvents pCPE, out uint pdwCookie)
 {
     pdwCookie = this.eventListeners.Add(pCPE);
     return NativeMethods.S_OK;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Registers the caller for configuration event notification.
 /// </summary>
 /// <param name="sink">Reference to the IVsCfgProviderEvents interface to be called to provide notification of configuration events.</param>
 /// <param name="cookie">Reference to a token representing the completed registration</param>
 /// <returns>If the method succeeds, it returns S_OK. If it fails, it returns an error code.</returns>
 public virtual int AdviseCfgProviderEvents(IVsCfgProviderEvents sink, out uint cookie)
 {
     cookie = this.cfgEventSinks.Add(sink);
     return(VSConstants.S_OK);
 }
Ejemplo n.º 3
0
 /// <include file='doc\Project.uex' path='docs/doc[@for="ImageNames.AdviseCfgProviderEvents"]/*' />
 public virtual int AdviseCfgProviderEvents(IVsCfgProviderEvents sink, out uint cookie) {
     return this.configProvider.AdviseCfgProviderEvents(sink, out cookie);
 }
		/// <summary>
		/// Registers the caller for configuration event notification. 
		/// </summary>
		/// <param name="sink">Reference to the IVsCfgProviderEvents interface to be called to provide notification of configuration events.</param>
		/// <param name="cookie">Reference to a token representing the completed registration</param>
		/// <returns>If the method succeeds, it returns S_OK. If it fails, it returns an error code.</returns>
		public virtual int AdviseCfgProviderEvents(IVsCfgProviderEvents sink, out uint cookie)
		{
			cookie = this.cfgEventSinks.Add(sink);
			return VSConstants.S_OK;
		}
 int IVsCfgProviderEventsHelper.AdviseCfgProviderEvents(IVsCfgProviderEvents pCPE, out uint pdwCookie)
 {
     pdwCookie = this.Add(pCPE);
     return NativeMethods.S_OK;
 }
		int IVsCfgProvider2.AdviseCfgProviderEvents(IVsCfgProviderEvents pCPE, out uint pdwCookie)
		{
			pdwCookie = this.eventListeners.Add(pCPE);
			return NativeMethods.S_OK;
		}
Ejemplo n.º 7
0
 public void AdviseCfgProviderEvents(IVsCfgProviderEvents sink, out uint cookie)
 {
     CCITracing.TraceCall();
     cookie = this.cfgEventSinks.Add(sink);
 }
 //==========================================================================================
 // Methods
 //==========================================================================================
 public uint Add(IVsCfgProviderEvents listener)
 {
     return base.Add(listener);
 }
Ejemplo n.º 9
0
 /// <include file='doc\ConfigProvider.uex' path='docs/doc[@for="ConfigProvider.AdviseCfgProviderEvents"]/*' />
 public int AdviseCfgProviderEvents(IVsCfgProviderEvents sink, out uint cookie){
   cookie = this.cfgEventSinks.Add(sink);
   return 0;
 }
Ejemplo n.º 10
0
 public void AdviseCfgProviderEvents(IVsCfgProviderEvents sink, out uint cookie) {
   CCITracing.TraceCall();
   cookie = this.cfgEventSinks.Add(sink);      
 }
Ejemplo n.º 11
0
        //==========================================================================================
        // Methods
        //==========================================================================================

        public uint Add(IVsCfgProviderEvents listener)
        {
            return(base.Add(listener));
        }
Ejemplo n.º 12
0
 int IVsCfgProviderEventsHelper.AdviseCfgProviderEvents(IVsCfgProviderEvents pCPE, out uint pdwCookie)
 {
     pdwCookie = this.Add(pCPE);
     return(NativeMethods.S_OK);
 }
Ejemplo n.º 13
0
 /// <include file='doc\ConfigProvider.uex' path='docs/doc[@for="ConfigProvider.AdviseCfgProviderEvents"]/*' />
 public int AdviseCfgProviderEvents(IVsCfgProviderEvents sink, out uint cookie)
 {
     cookie = this.cfgEventSinks.Add(sink);
     return(0);
 }