Interface allows for the component to be used in Nested Component scenarios such that the
child component class does not have to declare the generic type of the parent explicitly.
Namespace: OpenQA.Selenium.Support.UIAssembly: WebDriver.Support (in WebDriver.Support.dll) Version: 2.35.0.0 (2.35.0.0)
public interface ILoadableComponent
public interface ILoadableComponent
Public Interface ILoadableComponent
Public Interface ILoadableComponent
public interface class ILoadableComponent
public interface class ILoadableComponent
public class HypotheticalLoadableComponent : LoadableComponent<T> {
ILoadableComponent parent;
public HypotheticalLoadableComponent(ILoadableComponent parent) {
this.parent = parent;
}
protected void EvaluateLoadedStatus() { //code to determine loaded state }
protected void ExecuteLoad() {
parent.Load(); //loads the parent
//code to load this component
}
}