コード例 #1
0
        private static IBindingInfo Resolve(Type service, string name = null)
        {
            IBindingRequest request = new BindingRequest()
            {
                Name = name, Service = service
            };

            return(Resolve(request));
        }
コード例 #2
0
        private static IBindingInfo Resolve <TType>(string name = null)
        {
            Type            service = typeof(TType);
            IBindingRequest request = new BindingRequest()
            {
                Name = name, Service = service
            };

            return(Resolve(request));
        }