CSharpCompilation.GetSymbolsWithName Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
GetSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) |
Retourne les symboles de déclaration source dont le nom répond au prédicat donné. |
GetSymbolsWithName(String, SymbolFilter, CancellationToken) |
Retourne les symboles de déclaration source dont le nom correspond au nom fourni. Cela sera plus rapide que GetSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) lorsque le prédicat n’est qu’une simple vérification de chaîne. |
GetSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken)
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
Retourne les symboles de déclaration source dont le nom répond au prédicat donné.
public override System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ISymbol> GetSymbolsWithName (Func<string,bool> predicate, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
override this.GetSymbolsWithName : Func<string, bool> * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> seq<Microsoft.CodeAnalysis.ISymbol>
Public Overrides Function GetSymbolsWithName (predicate As Func(Of String, Boolean), Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As IEnumerable(Of ISymbol)
Paramètres
- filter
- SymbolFilter
- cancellationToken
- CancellationToken
Retours
S’applique à
GetSymbolsWithName(String, SymbolFilter, CancellationToken)
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
Retourne les symboles de déclaration source dont le nom correspond au nom fourni. Cela sera plus rapide que GetSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) lorsque le prédicat n’est qu’une simple vérification de chaîne. name
respecte la casse.
public override System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ISymbol> GetSymbolsWithName (string name, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
override this.GetSymbolsWithName : string * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> seq<Microsoft.CodeAnalysis.ISymbol>
Public Overrides Function GetSymbolsWithName (name As String, Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As IEnumerable(Of ISymbol)
Paramètres
- name
- String
- filter
- SymbolFilter
- cancellationToken
- CancellationToken