Compartir a través de


Compilation.ContainsSymbolsWithName Método

Definición

Sobrecargas

ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken)

Devuelve true si hay un nombre de símbolo de declaración de origen que cumple el predicado especificado.

ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)

Devuelve true si hay un nombre de símbolo de declaración de origen que coincide con el nombre proporcionado. Esto puede ser más rápido que ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) cuando el predicado es simplemente una comprobación de cadena simple. name distingue mayúsculas de minúsculas o no depende del idioma de destino.

ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

Devuelve true si hay un nombre de símbolo de declaración de origen que cumple el predicado especificado.

public abstract bool ContainsSymbolsWithName (Func<string,bool> predicate, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
abstract member ContainsSymbolsWithName : Func<string, bool> * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> bool
Public MustOverride Function ContainsSymbolsWithName (predicate As Func(Of String, Boolean), Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As Boolean

Parámetros

predicate
Func<String,Boolean>
filter
SymbolFilter
cancellationToken
CancellationToken

Devoluciones

Se aplica a

ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

Devuelve true si hay un nombre de símbolo de declaración de origen que coincide con el nombre proporcionado. Esto puede ser más rápido que ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) cuando el predicado es simplemente una comprobación de cadena simple. name distingue mayúsculas de minúsculas o no depende del idioma de destino.

public abstract bool ContainsSymbolsWithName (string name, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
abstract member ContainsSymbolsWithName : string * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> bool
Public MustOverride Function ContainsSymbolsWithName (name As String, Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As Boolean

Parámetros

name
String
filter
SymbolFilter
cancellationToken
CancellationToken

Devoluciones

Se aplica a