public void Execute(IInnerContent parameter) { var contexts = _contexts.Get(parameter.Get()); contexts.Push(parameter); _handler.Execute(parameter); contexts.Pop(); }
public object Get(IFormatReader parameter) { var adapter = _activator.Get(parameter); while (adapter?.MoveNext() ?? false) { _content.Execute(adapter); } var result = adapter != null?_result.Get(adapter) : null; return(result); }