Пример #1
0
        protected void RegisterInstance(Type serviceType, object instance)
        {
            var registryInstance = new RegistryInstance(serviceType, instance);

            registryInstance.Singleton();
            instances.Add(registryInstance);
        }