protected void OnExecuted(SearchElementBase element) { if (Executed != null) { Executed(element); } }
private void ExecuteElement(SearchElementBase searchElement) { dynamic ele = searchElement; ExecuteElement(ele); }
//This method will be execute then the OnExecute() event is called. private void SearchElement_Executed(SearchElementBase ele) { bExecuted = true; }
/// <summary> /// The class constructor for a built-in type that is already loaded. </summary> /// <param name="node">The local node</param> public TopSearchElement(SearchElementBase ele) { this.Element = ele; }