public int FDoIdle(uint grfidlef) { NVelocityLanguage langService = GetService(typeof(NVelocityLanguage)) as NVelocityLanguage; if (langService != null) { langService.OnIdle((grfidlef & (uint)_OLEIDLEF.oleidlefPeriodic) != 0); } return(0); }
private object CreateService(IServiceContainer container, Type serviceType) { if (serviceType == typeof(NVelocityLanguage)) { NVelocityLanguage language = new NVelocityLanguage(); language.SetSite(this); RegisterForIdleTime(); return(language); } return(null); }
private object CreateService(IServiceContainer container, Type serviceType) { if (serviceType == typeof(NVelocityLanguage)) { NVelocityLanguage language = new NVelocityLanguage(); language.SetSite(this); RegisterForIdleTime(); return language; } return null; }