C# Class AppDi.AppDriver

Inheritance: System.Dynamic.DynamicObject
Afficher le fichier Open project: mxa0079/AppDI

Méthodes publiques

Méthode 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

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

AppDriver should only be instantiated through its factory

Method Details

Factory() public static méthode

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

TryGetMember() public méthode

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
Résultat bool

TrySetMember() public méthode

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
Résultat bool