C# Class Endjin.Assembly.ChangeDetection.Query.MethodQuery

Inheritance: BaseQuery
Afficher le fichier Open project: endjin/Endjin.Assembly.ChangeDetection

Protected Properties

Свойство Type Description
myIsVirtual bool?

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
MatchMethodModifiers ( Mono.Cecil.MethodDefinition method ) : bool
SetModifierFilter ( Match m ) : void

Private Methods

Méthode Description
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

Method Details

GetMethods() public méthode

public GetMethods ( Mono.Cecil.TypeDefinition type ) : List
type Mono.Cecil.TypeDefinition
Résultat List

GetSingleMethod() public méthode

public GetSingleMethod ( Mono.Cecil.TypeDefinition type ) : Mono.Cecil.MethodDefinition
type Mono.Cecil.TypeDefinition
Résultat Mono.Cecil.MethodDefinition

MatchMethodModifiers() protected méthode

protected MatchMethodModifiers ( Mono.Cecil.MethodDefinition method ) : bool
method Mono.Cecil.MethodDefinition
Résultat bool

MethodQuery() public méthode

Create a method query which matches every method
public MethodQuery ( ) : System
Résultat System

MethodQuery() public méthode

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.
Résultat System

SetModifierFilter() protected méthode

protected SetModifierFilter ( Match m ) : void
m System.Text.RegularExpressions.Match
Résultat void

Property Details

myIsVirtual protected_oe property

protected bool? myIsVirtual
Résultat bool?