C# Class AppDi.AppDriver

Inheritance: System.Dynamic.DynamicObject
Datei anzeigen Open project: mxa0079/AppDI

Public Methods

Method Description
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

Private Methods

Method Description
AppDriver ( Uri baseUrl, Lazy webDriver, Type>.Dictionary PageObjectmembers ) : System

AppDriver should only be instantiated through its factory

Method Details

Factory() public static method

The AppDriverFactory is responsible for creating an instance of an AppDriver
public static Factory ( ) : AppDriverFactory
return AppDriverFactory

TryGetMember() public method

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

TrySetMember() public method

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
return bool