示例#1
0
        public void WithDefaultConventions(OverwriteBehavior behavior)
        {
            var convention = new DefaultConventionScanner
            {
                Overwrites = behavior
            };

            With(convention);
        }
示例#2
0
        public void WithDefaultConventions(OverwriteBehavior behavior, ServiceLifetime lifetime)
        {
            var convention = new DefaultConventionScanner(lifetime)
            {
                Overwrites = behavior
            };

            With(convention);
        }
示例#3
0
        public void WithDefaultConventions()
        {
            var convention = new DefaultConventionScanner();

            With(convention);
        }
示例#4
0
        public void WithDefaultConventions(ServiceLifetime lifetime)
        {
            var convention = new DefaultConventionScanner(lifetime);

            With(convention);
        }