C# Class Selenol.SelectorAttributes.PageProxyGenerationHook

The Page proxy generation hook. Detects problems in usage of BaseSelectorAttribute.
Inheritance: IProxyGenerationHook
Afficher le fichier Open project: pbakshy/Selenol

Méthodes publiques

Méthode Description
MethodsInspected ( ) : void

Invoked by the generation process to notify that the whole process is completed.

NonProxyableMemberNotification ( Type type, MemberInfo memberInfo ) : void

Invoked by the generation process to notify that a member wasn't marked as virtual.

ShouldInterceptMethod ( Type type, MethodInfo methodInfo ) : bool

Invoked by the generation process to know if the specified member should be intercepted.

Private Methods

Méthode Description
AppedProcessedProperty ( PropertyInfo processedProperty ) : void
AppendError ( string errorMessage ) : void
IsValidCollectionType ( Type type ) : bool
SetProxiedTypeIfNeed ( Type type ) : void

Method Details

MethodsInspected() public méthode

Invoked by the generation process to notify that the whole process is completed.
public MethodsInspected ( ) : void
Résultat void

NonProxyableMemberNotification() public méthode

Invoked by the generation process to notify that a member wasn't marked as virtual.
public NonProxyableMemberNotification ( Type type, MemberInfo memberInfo ) : void
type System.Type The type.
memberInfo System.Reflection.MemberInfo The member Info.
Résultat void

ShouldInterceptMethod() public méthode

Invoked by the generation process to know if the specified member should be intercepted.
public ShouldInterceptMethod ( Type type, MethodInfo methodInfo ) : bool
type System.Type The type.
methodInfo System.Reflection.MethodInfo The method Info.
Résultat bool