示例#1
0
        public RegistrationSolver InAppAssembly <TApp>()
            where TApp : ICometApp
        {
            var appAssembly = typeof(TApp).Assembly;

            AssemblyPredicates.Add(a => a == appAssembly);
            return(this);
        }
示例#2
0
 public RegistrationSolver InAssembly(params Assembly[] assemblies)
 {
     AssemblyPredicates.Add(a => assemblies.Any(x => x == a));
     return(this);
 }