C# 클래스 Shaolinq.AsyncRewriter.Rewriter

파일 보기 프로젝트 열기: tumtumtum/Shaolinq 1 사용 예제들

공개 메소드들

메소드 설명
Rewrite ( Microsoft.CodeAnalysis.SyntaxTree syntaxTrees, Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilationNode, string excludeTypes = null ) : IEnumerable
RewriteAndMerge ( string paths, string additionalAssemblyNames = null, string excludeTypes = null ) : string
Rewriter ( IAsyncRewriterLogger log = null ) : System

비공개 메소드들

메소드 설명
AmendUsings ( Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax nameSpace, SyntaxList usings ) : Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
CorrectAsyncCalls ( Compilation compilationNode, Microsoft.CodeAnalysis.SyntaxTree syntaxTrees, string excludeTypes ) : IEnumerable
GetAllMembers ( ITypeSymbol symbol, bool includeParents = true ) : IEnumerable
GetMethods ( Microsoft.CodeAnalysis.SemanticModel semanticModel, ITypeSymbol symbol, string name, Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax method, Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax originalMethod ) : IEnumerable
GetNamespacesAndParents ( string nameSpace ) : IEnumerable
GetParameterTypeComparisonKey ( ITypeSymbol symbol, Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax method = null, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax typeSyntax = null ) : object
RewriteAndMerge ( Microsoft.CodeAnalysis.SyntaxTree syntaxTrees, Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilationNode, string excludeTypes = null ) : Microsoft.CodeAnalysis.SyntaxTree
RewriteMethodAsync ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodSyntax, Microsoft.CodeAnalysis.SemanticModel semanticModel, bool cancellationVersion ) : Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
RewriteMethods ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax inMethodSyntax, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : IEnumerable
UpdateUsings ( Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax compilationUnit ) : Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
ValidateAsyncMethod ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodSyntax, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : void

메소드 상세

Rewrite() 공개 메소드

public Rewrite ( Microsoft.CodeAnalysis.SyntaxTree syntaxTrees, Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilationNode, string excludeTypes = null ) : IEnumerable
syntaxTrees Microsoft.CodeAnalysis.SyntaxTree
compilationNode Microsoft.CodeAnalysis.CSharp.CSharpCompilation
excludeTypes string
리턴 IEnumerable

RewriteAndMerge() 공개 메소드

public RewriteAndMerge ( string paths, string additionalAssemblyNames = null, string excludeTypes = null ) : string
paths string
additionalAssemblyNames string
excludeTypes string
리턴 string

Rewriter() 공개 메소드

public Rewriter ( IAsyncRewriterLogger log = null ) : System
log IAsyncRewriterLogger
리턴 System