Class CsRepository
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v9.dll
Represents properties and methods to perform code completion functionality for the C# language.
public class CsRepository : RoslynRepository, IRoslynRepository, ICodeCompletionRepository, IDisposable, IUpdate
- Inheritance
-
CsRepository
- Implements
Constructors
- CsRepository(ISyntaxParser, IRoslynSolution, bool)
Initializes a new instance of the
CsRepository
class with specified settings.
Methods
- CodeCompletionAsync(Point, CodeCompletionArgs, CancellationToken)
Performs code completion for the specified text representing language element.
- GetXmlComment()
Represents beginning of XML comment.
- IsCollapsible(SyntaxNode, out string, out TextSpan, bool)
Indicates whether specified
Microsoft.CodeAnalysis.SyntaxNode
can be outlined.
- IsCollapsible(IEnumerable<SyntaxTrivia>, out string, out TextSpan)
Indicates whether specified
Microsoft.CodeAnalysis.SyntaxTrivia
list can be outlined.
- IsStructureGuideNode(SyntaxNode, out TextSpan)
Indicates whether specified
Microsoft.CodeAnalysis.SyntaxNode
is guide node.
- ProcessSnippetBody(string, Point, out string)
Checks whether snippet body code needs inserting.