예제 #1
0
        public bool TryGetRegistration(Service service, out IComponentRegistration registration)
        {
            var ret = this._componentRegistry.TryGetRegistration(service, out registration);

            if (ret && registration != null)
            {
                registration = new ComponentRegistrationWrapper(registration, _observers);
            }
            return(ret);
        }
예제 #2
0
        public bool TryGetRegistration(Service service, out IComponentRegistration registration)
        {
            var ret = this._componentRegistry.TryGetRegistration(service, out registration);

            if (ret && registration != null)
            {
                registration = new ComponentRegistrationWrapper(registration, _observers);
            }
            return ret;
        }