C# Класс Selenol.SelectorAttributes.PageProxyGenerationHook

The Page proxy generation hook. Detects problems in usage of BaseSelectorAttribute.
Наследование: IProxyGenerationHook
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
AppedProcessedProperty ( PropertyInfo processedProperty ) : void
AppendError ( string errorMessage ) : void
IsValidCollectionType ( Type type ) : bool
SetProxiedTypeIfNeed ( Type type ) : void

Описание методов

MethodsInspected() публичный Метод

Invoked by the generation process to notify that the whole process is completed.
public MethodsInspected ( ) : void
Результат void

NonProxyableMemberNotification() публичный Метод

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.
Результат void

ShouldInterceptMethod() публичный Метод

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.
Результат bool