public TisServiceRegistryProvider()
        {
            m_gacAssemblyResolver = new GacAssemblyResolver();
            Type serviceRegistryProviderType = null;

            try
            {
                AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(m_gacAssemblyResolver.AssemblyResolveHandler);
                serviceRegistryProviderType              = Type.GetType(TisServicesConst.SERVICE_REGISTRY_PROVIDER_TYPE_NAME);
            }
            finally
            {
                AppDomain.CurrentDomain.AssemblyResolve -= new ResolveEventHandler(m_gacAssemblyResolver.AssemblyResolveHandler);
            }

            if (serviceRegistryProviderType == null)
            {
                throw new TisException("Failed to load services schema ");
            }

            m_serviceRegistry = new TisServiceRegistry(serviceRegistryProviderType);
        }
 static TisServicesHost()
 {
     m_serviceRegistry = (TisServiceRegistry) new TisServiceRegistryProvider().GetServiceRegistry(ALL_APPS);
 }