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

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

Private Properties

Свойство Type Description
IsEventFieldOrPropertyBackingFieldOrEnumBackingField bool
Match bool
MatchFieldModifiers bool
MatchFieldType bool

Méthodes publiques

Méthode Description
FieldQuery ( ) : System

Searches for all fields in a class

FieldQuery ( string query ) : System

Queries for specific fields in a class

The field query must contain at least the field type and name to query for. Access modifier are optional Example: public * * protectd * * static readonly protected * * string m_* * my* // Get all fields which field name begins with my

GetMatchingFields ( Mono.Cecil.TypeDefinition type ) : List

Méthodes protégées

Méthode Description
SetModifierFilter ( Match match ) : void

Private Methods

Méthode Description
IsEventFieldOrPropertyBackingFieldOrEnumBackingField ( FieldDefinition field, Mono.Cecil.TypeDefinition def ) : bool
Match ( FieldDefinition field, Mono.Cecil.TypeDefinition type ) : bool
MatchFieldModifiers ( FieldDefinition field ) : bool
MatchFieldType ( FieldDefinition field ) : bool

Method Details

FieldQuery() public méthode

Searches for all fields in a class
public FieldQuery ( ) : System
Résultat System

FieldQuery() public méthode

Queries for specific fields in a class
The field query must contain at least the field type and name to query for. Access modifier are optional Example: public * * protectd * * static readonly protected * * string m_* * my* // Get all fields which field name begins with my
public FieldQuery ( string query ) : System
query string Query string
Résultat System

GetMatchingFields() public méthode

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

SetModifierFilter() protected méthode

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