예제 #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);
        }