Beispiel #1
0
        public ReflectionResolver Register(Type source, Type target, IScope scope = null, Func <PropertyInfo, bool> propertyFilter = null)
        {
            var resolver = new ReflectionResolver(target, propertyFilter);

            Register(source, resolver, scope);
            return(resolver);
        }
Beispiel #2
0
        public ReflectionResolver <T> Register <T>(IScope scope = null, Func <PropertyInfo, bool> propertyFilter = null)
        {
            var resolver = new ReflectionResolver <T>(propertyFilter);

            Register <T>(resolver, scope);
            return(resolver);
        }