protected ContainerConcept(ISearchContext searchContext) { this.searchContext = new Lazy <ISearchContext>(() => searchContext); ConceptFactory.InitElements(searchContext, this); }
protected ContainerConcept(string key, IElementLocator elementLocator) { searchContext = new Lazy <ISearchContext>(() => elementLocator.LocateElement(LocatorConventions.GetLocators(key))); ConceptFactory.InitElements(new LazyElementLocator(searchContext), this); }