C# Класс AppDi.AppDriver

Наследование: System.Dynamic.DynamicObject
Показать файл Открыть проект

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

Метод Описание
Factory ( ) : AppDriverFactory

The AppDriverFactory is responsible for creating an instance of an AppDriver

TryGetMember ( GetMemberBinder binder, object &result ) : bool

This method is in charge of dynamic binding of properties/methods in this Dynamic Object In specific for this class, it is in charge of creating instances of Page Objects that are dinamically registered with the AppDriver during the initial driver creation (using AppDriver.Factory().Register<> method)

TrySetMember ( SetMemberBinder binder, object value ) : bool

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

Метод Описание
AppDriver ( Uri baseUrl, Lazy webDriver, Type>.Dictionary PageObjectmembers ) : System

AppDriver should only be instantiated through its factory

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

Factory() публичный статический Метод

The AppDriverFactory is responsible for creating an instance of an AppDriver
public static Factory ( ) : AppDriverFactory
Результат AppDriverFactory

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

This method is in charge of dynamic binding of properties/methods in this Dynamic Object In specific for this class, it is in charge of creating instances of Page Objects that are dinamically registered with the AppDriver during the initial driver creation (using AppDriver.Factory().Register<> method)
public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder Information about the member we are trying to bing
result object Newly created PageObject
Результат bool

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

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
Результат bool