상속: Microsoft.VisualStudio.Package.LanguageService
예제 #1
0
        public int FDoIdle(uint grfidlef)
        {
            NVelocityLanguage langService = GetService(typeof(NVelocityLanguage)) as NVelocityLanguage;

            if (langService != null)
            {
                langService.OnIdle((grfidlef & (uint)_OLEIDLEF.oleidlefPeriodic) != 0);
            }
            return(0);
        }
예제 #2
0
 private object CreateService(IServiceContainer container, Type serviceType)
 {
     if (serviceType == typeof(NVelocityLanguage))
     {
         NVelocityLanguage language = new NVelocityLanguage();
         language.SetSite(this);
         RegisterForIdleTime();
         return(language);
     }
     return(null);
 }
예제 #3
0
 private object CreateService(IServiceContainer container, Type serviceType)
 {
     if (serviceType == typeof(NVelocityLanguage))
     {
         NVelocityLanguage language = new NVelocityLanguage();
         language.SetSite(this);
         RegisterForIdleTime();
         return language;
     }
     return null;
 }