public static FromAssemblyDefiner FromAssemblyInDirectory([NotNull] AssemblyFilter filter)
        {
            Check.NotNull(filter, nameof(filter));

            IEnumerable <Assembly> assemblies = ReflectionUtil.GetAssemblies(filter);

            return(new FromAssemblyDefiner(assemblies));
        }
示例#2
0
        public static FromAssemblyDefiner FromAssemblyInDirectory(AssemblyFilter filter)
        {
            if (filter == null)
            {
                throw new ArgumentNullException(nameof(filter));
            }

            var assemblies = ReflectionUtil.GetAssemblies(filter);

            return(new FromAssemblyDefiner(assemblies));
        }
        public static FromAssemblyDefiner FromAssemblyInThisApplicationDirectory()
        {
            IEnumerable <Assembly> assemblies = ReflectionUtil.GetAssemblies(new AssemblyFilter(AppDomain.CurrentDomain.GetActualDomainPath()));

            return(new FromAssemblyDefiner(assemblies));
        }