C# Класс Endjin.Assembly.ChangeDetection.Query.MethodQuery

Наследование: BaseQuery
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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?