File: Filters\DifferenceFilter.cs
Web Access
Project: src\src\Microsoft.Cci.Extensions\Microsoft.Cci.Extensions.csproj (Microsoft.Cci.Extensions)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.Cci.Differs;
 
namespace Microsoft.Cci.Filters
{
    public class DifferenceFilter<T> : IDifferenceFilter where T : Difference
    {
        public virtual bool Include(Difference difference)
        {
            return difference is T;
        }
    }
}