C# Class Selenol.SelectorAttributes.Interceptors.BasePropertyInterceptor

The base selector interceptor. It intercepts property getter and select elements by selector from BaseSelectorAttribute. Can cache the result if need.
Inheritance: IInterceptor
Afficher le fichier Open project: pbakshy/Selenol

Méthodes publiques

Méthode Description
Intercept ( IInvocation invocation ) : void

The intercept.

Méthodes protégées

Méthode Description
SelectPropertyValue ( Type propertyType, object context, By selector ) : object

Selects value for the proxied property.

Private Methods

Méthode Description
UseCacheIfNeed ( PropertyInfo propertyInfo, object context, BaseSelectorAttribute selectorAttribute ) : object

Method Details

Intercept() public méthode

The intercept.
public Intercept ( IInvocation invocation ) : void
invocation IInvocation The invocation.
Résultat void

SelectPropertyValue() protected abstract méthode

Selects value for the proxied property.
protected abstract SelectPropertyValue ( Type propertyType, object context, By selector ) : object
propertyType System.Type The property type.
context object The invocation context, can be page or control.
selector OpenQA.Selenium.By The selector.
Résultat object