Ejemplo n.º 1
0
        public async Task <ActionResult> Index()
        {
            if (RubberduckAssets.ShouldInvalidate)
            {
                await RubberduckAssets.InvalidateAsync();
            }
            var model = await BuildHomePageModelAsync();

            return(View(model));
        }
Ejemplo n.º 2
0
        public async Task <ActionResult> List()
        {
            if (RubberduckAssets.ShouldInvalidate)
            {
                await RubberduckAssets.InvalidateAsync();
            }

            var ignoreModuleExample = @"Option Explicit
'@IgnoreModule: inspections will ignore this module";

            return(View(new InspectionsModel(RubberduckAssets.Inspections.Values.Where(e => !e.IsHidden), ignoreModuleExample)));
        }