C# 클래스 Endjin.Assembly.ChangeDetection.Query.MethodQuery

상속: BaseQuery
파일 보기 프로젝트 열기: endjin/Endjin.Assembly.ChangeDetection

보호된 프로퍼티들

프로퍼티 타입 설명
myIsVirtual bool?

Private Properties

프로퍼티 타입 설명
AssignArrayBracketsToTypeName string>.KeyValuePair
CreateRegexFilterFromTypeName string
CreateRegularExpressionFromTypeString System.Text.RegularExpressions.Regex
CreateReturnTypeFilter void
InitArgumentFilter string>>.List
IsArgumentMatch bool
IsNoEventMethod bool
Match bool
MatchArguments bool
MatchReturnType bool
PrependStarToFilter string

공개 메소드들

메소드 설명
GetMethods ( Mono.Cecil.TypeDefinition type ) : List
GetSingleMethod ( Mono.Cecil.TypeDefinition type ) : Mono.Cecil.MethodDefinition
MethodQuery ( ) : System

Create a method query which matches every method

MethodQuery ( string methodQuery ) : System

Create a new instance of a Query to match for specific methods for a given type.

The query format can be a simple string like * // get everything public void Function(int firstArg, bool secondArg) // match specfic method public * *( * ) // match all public methods protected * *(* a) // match all protected methods with one parameter

보호된 메소드들

메소드 설명
MatchMethodModifiers ( Mono.Cecil.MethodDefinition method ) : bool
SetModifierFilter ( Match m ) : void

비공개 메소드들

메소드 설명
AssignArrayBracketsToTypeName ( string typeName, string argName ) : string>.KeyValuePair
CreateRegexFilterFromTypeName ( string filterstr ) : string
CreateRegularExpressionFromTypeString ( string newTypeName ) : Regex
CreateReturnTypeFilter ( Match m ) : void
InitArgumentFilter ( string argFilter ) : string>>.List
IsArgumentMatch ( Regex typeFilter, string argNameFilter, string typeName, string argName ) : bool
IsNoEventMethod ( Mono.Cecil.TypeDefinition type, Mono.Cecil.MethodDefinition method ) : bool
Match ( Mono.Cecil.TypeDefinition type, Mono.Cecil.MethodDefinition method ) : bool
MatchArguments ( Mono.Cecil.MethodDefinition method ) : bool
MatchReturnType ( Mono.Cecil.MethodDefinition method ) : bool
PrependStarToFilter ( string filterstr ) : string

메소드 상세

GetMethods() 공개 메소드

public GetMethods ( Mono.Cecil.TypeDefinition type ) : List
type Mono.Cecil.TypeDefinition
리턴 List

GetSingleMethod() 공개 메소드

public GetSingleMethod ( Mono.Cecil.TypeDefinition type ) : Mono.Cecil.MethodDefinition
type Mono.Cecil.TypeDefinition
리턴 Mono.Cecil.MethodDefinition

MatchMethodModifiers() 보호된 메소드

protected MatchMethodModifiers ( Mono.Cecil.MethodDefinition method ) : bool
method Mono.Cecil.MethodDefinition
리턴 bool

MethodQuery() 공개 메소드

Create a method query which matches every method
public MethodQuery ( ) : System
리턴 System

MethodQuery() 공개 메소드

Create a new instance of a Query to match for specific methods for a given type.
The query format can be a simple string like * // get everything public void Function(int firstArg, bool secondArg) // match specfic method public * *( * ) // match all public methods protected * *(* a) // match all protected methods with one parameter
public MethodQuery ( string methodQuery ) : System
methodQuery string The method query.
리턴 System

SetModifierFilter() 보호된 메소드

protected SetModifierFilter ( Match m ) : void
m System.Text.RegularExpressions.Match
리턴 void

프로퍼티 상세

myIsVirtual 보호되어 있는 프로퍼티

protected bool? myIsVirtual
리턴 bool?