Пример #1
0
 public DependencyInjectionCriteria()
 {
     TargetAssembly        = Assembly.GetExecutingAssembly();
     ClassNameStartingWith = String.Empty;
     ClassNameEndingWith   = String.Empty;
     LifetimeScope         = DependencyInjectionLifetimeScope.Transient;
 }
Пример #2
0
        public IDependencyInjectionCriteria WithScope(DependencyInjectionLifetimeScope lifetimeScope)
        {
            LifetimeScope = lifetimeScope;

            return(this);
        }