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); }
public object Get(IFormatReader parameter) { var content = _activator.Get(parameter); if (content != null) { while (content.MoveNext()) { _content.IsSatisfiedBy(content); } var result = _result.Get(content); return(result); } return(null); }
public object Get(IInnerContent parameter) => (parameter.Current as IActivationContext)?.Get() ?? _result.Get(parameter);
public object Get(IInnerContent parameter) { _command.Execute(parameter); return(_results.Get(parameter)); }