C# 클래스 CompiledHandlebars.Compiler.Introspection.RoslynIntrospector

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

Private Properties

프로퍼티 타입 설명
DoParametersMatch bool
DoesParameterMatchType bool

공개 메소드들

메소드 설명
GetBoolTypeSymbol ( ) : INamedTypeSymbol
GetHelperMethod ( string funtionName, List parameters ) : IMethodSymbol

Searches each referenced project for helper methods. These must serve following conditions: - correct name - be static - have a "CompiledHandlebarsHelperMethod" attribute - have matching parameters

GetIntTypeSymbol ( ) : INamedTypeSymbol
GetLayoutHbsTemplate ( string layoutName ) : INamedTypeSymbol
GetPartialHbsTemplate ( string templateName ) : INamedTypeSymbol
GetStringTypeSymbol ( ) : INamedTypeSymbol
GetTypeSymbol ( string fullTypeName ) : INamedTypeSymbol
RoslynIntrospector ( Microsoft.CodeAnalysis.Project project ) : System.Collections.Generic
RuntimeUtilsReferenced ( ) : bool

비공개 메소드들

메소드 설명
DoParametersMatch ( IMethodSymbol methodSymbol, List parameters ) : bool
DoesParameterMatchType ( IParameterSymbol param, ITypeSymbol type ) : bool

메소드 상세

GetBoolTypeSymbol() 공개 메소드

public GetBoolTypeSymbol ( ) : INamedTypeSymbol
리턴 INamedTypeSymbol

GetHelperMethod() 공개 메소드

Searches each referenced project for helper methods. These must serve following conditions: - correct name - be static - have a "CompiledHandlebarsHelperMethod" attribute - have matching parameters
public GetHelperMethod ( string funtionName, List parameters ) : IMethodSymbol
funtionName string Name of the Helper as declared in the handlebars-template
parameters List Types of the Parameters that are passed to the helper method
리턴 IMethodSymbol

GetIntTypeSymbol() 공개 메소드

public GetIntTypeSymbol ( ) : INamedTypeSymbol
리턴 INamedTypeSymbol

GetLayoutHbsTemplate() 공개 메소드

public GetLayoutHbsTemplate ( string layoutName ) : INamedTypeSymbol
layoutName string
리턴 INamedTypeSymbol

GetPartialHbsTemplate() 공개 메소드

public GetPartialHbsTemplate ( string templateName ) : INamedTypeSymbol
templateName string
리턴 INamedTypeSymbol

GetStringTypeSymbol() 공개 메소드

public GetStringTypeSymbol ( ) : INamedTypeSymbol
리턴 INamedTypeSymbol

GetTypeSymbol() 공개 메소드

public GetTypeSymbol ( string fullTypeName ) : INamedTypeSymbol
fullTypeName string
리턴 INamedTypeSymbol

RoslynIntrospector() 공개 메소드

public RoslynIntrospector ( Microsoft.CodeAnalysis.Project project ) : System.Collections.Generic
project Microsoft.CodeAnalysis.Project
리턴 System.Collections.Generic

RuntimeUtilsReferenced() 공개 메소드

public RuntimeUtilsReferenced ( ) : bool
리턴 bool