public void SetOutputParameter <T>(OutputParameters parameterName, T parameterValue) { ExecutionContext.OutputParameters[parameterName.ToString()] = parameterValue; }
public T GetOutputParameter <T>(OutputParameters parameterName) { if (_outputParameters.ContainsKey(parameterName)) { return((T)_outputParameters[parameterName]); } ; throw new ArgumentException(string.Format("No Output parameter {0} has been set", parameterName.ToString())); }
public virtual T GetOutputParameter <T>(OutputParameters parameterName) { return((T)ExecutionContext.OutputParameters[parameterName.ToString()]); }