C# Class Selenol.SelectorAttributes.PageProxyGenerationHook

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

Public Methods

Method 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

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

Method Details

MethodsInspected() public method

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

NonProxyableMemberNotification() public method

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.
return void

ShouldInterceptMethod() public method

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.
return bool