| File: Filtering\ISymbolFilter.cs | Web Access |
| Project: src\sdk\src\Compatibility\Microsoft.DotNet.ApiSymbolExtensions\Microsoft.DotNet.ApiSymbolExtensions.csproj (Microsoft.DotNet.ApiSymbolExtensions) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.CodeAnalysis; namespace Microsoft.DotNet.ApiSymbolExtensions.Filtering { /// <summary> /// Provides a mechanism to filter <see cref="ISymbol"/>. /// </summary> public interface ISymbolFilter { /// <summary> /// Determines whether the <see cref="ISymbol"/> should be included. /// </summary> /// <param name="symbol"><see cref="ISymbol"/> to evaluate.</param> /// <returns>True to include the <paramref name="symbol"/> or false to filter it out.</returns> bool Include(ISymbol symbol); } }