protected T GetParameterOrThrow <T>([CallerMemberName] string key = "") { if (string.IsNullOrEmpty(key)) { throw new ArgumentException("Key not specified.", nameof(key)); } return(parameters.GetValue <T>(key)); }
protected T GetParameterOrThrow <T>([CallerMemberName] string key = "") { if (string.IsNullOrEmpty(key)) { throw new ArgumentException("Key not specified.", nameof(key)); } return(parameters.GetValue <T>(key)); }