BaseActionMethodRequestBuilder<T>.SetParameter<U> Method

Definition

A helper method for injecting a parameter string for a given name and value pair. This method handles the nullable case and properly wrapped and escaping string values.

protected void SetParameter<U> (string name, U value, bool nullable);
member this.SetParameter : string * 'U * bool -> unit
Protected Sub SetParameter(Of U) (name As String, value As U, nullable As Boolean)

Type Parameters

U

The type of the value parameter.

Parameters

name
String

The parameter name.

value
U

The parameter value.

nullable
Boolean

A flag specifying whether the parameter is allowed to be null.

Applies to