Skip to content

Commit

Permalink
Made the Parameter class no obsolete (#1644)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyzimarev committed Oct 30, 2021
1 parent d9aaf8e commit 73f2c05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RestSharp/Parameter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ namespace RestSharp {
/// <summary>
/// Parameter container for REST requests
/// </summary>
[Obsolete("Use Add[XXX]Parameter methods of IRestRequest instead of instantiating the Parameter class.")]
public class Parameter : IEquatable<Parameter> {
public Parameter(string name, object? value, ParameterType type, bool encode = true) {
if (type != ParameterType.RequestBody)
Expand Down

0 comments on commit 73f2c05

Please sign in to comment.