public void fetchName(string searchName) { itemValue value = new itemValue(); if (data.Config != null) { foreach (Key item in data.Config) { value.Number = item.Number; value.Name = item.Name; value.Description = item.Description; value.Command = item.Command; if (value.Name == searchName) { if (returnItemValue != null) { returnItemValue(this, value); } } } } }
public void SIMPLPLUSEVENTHANDLER(object __sender__ /*jsFetch.jsonReadWrite SENDER */, jsFetch.itemValue E) { jsonReadWrite SENDER = (jsonReadWrite )__sender__; try { SplusExecutionContext __context__ = SplusSimplSharpDelegateThreadStartCode(); __context__.SourceCodeLine = 100; SHOWFECHEDROOM(__context__, E.Name, E.Description, E.Command); } finally { ObjectFinallyHandler(); } }