public ViewAssemblyScanner(
            IEnumerable<Assembly> viewAssemblies,
            IDictionary<Assembly, bool> visitedAssemblies,
            ViewAssemblyChecker checker)
        {
            DebugCheck.NotNull(viewAssemblies);
            DebugCheck.NotNull(visitedAssemblies);
            DebugCheck.NotNull(checker);

            _viewAssemblies = new List<Assembly>(viewAssemblies);
            _visitedAssemblies = new Dictionary<Assembly, bool>(visitedAssemblies);
            _checker = checker;
        }
示例#2
0
        public ViewAssemblyScanner(
            IEnumerable <Assembly> viewAssemblies,
            IDictionary <Assembly, bool> visitedAssemblies,
            ViewAssemblyChecker checker)
        {
            DebugCheck.NotNull(viewAssemblies);
            DebugCheck.NotNull(visitedAssemblies);
            DebugCheck.NotNull(checker);

            _viewAssemblies    = new List <Assembly>(viewAssemblies);
            _visitedAssemblies = new Dictionary <Assembly, bool>(visitedAssemblies);
            _checker           = checker;
        }
 public ViewAssemblyCache(ViewAssemblyChecker checker = null)
 {
     _checker = checker ?? new ViewAssemblyChecker();
 }
示例#4
0
 public ViewAssemblyCache(ViewAssemblyChecker checker = null)
 {
     _checker = checker ?? new ViewAssemblyChecker();
 }