﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Remoting.Messaging;

namespace Glimpse.Agent.Web.Options
{
    public class DefaultIgnoredRequestProvider : IIgnoredRequestProvider
    {
        private readonly ITypeService _typeService;

        public DefaultIgnoredRequestProvider(ITypeService typeService)
        { 
        }

        public IEnumerable<IIgnoredRequestPolicy> Policies
        {
            get { return _typeService.Resolve<IIgnoredRequestPolicy>().ToArray(); }
        }
    }
}
Add default ignored request provider which discovers instances
Add default ignored request provider which discovers instances
