Пример #1
0
        private ParameterSet Resolve <T>(T target)
        {
            var builder  = new ParameterSetBuilder(typeof(T));
            var resolver = new ParameterSetResolver(target, builder.Build());

            return(resolver.Resolve());
        }
Пример #2
0
        private ParameterSet ResolveParameterSet()
        {
            var resolver = new ParameterSetResolver(this, Metadata.ParameterSets);

            return(resolver.Resolve());
        }