/// <summary>
 /// Initializes a new instance of the <see cref="HttpGetParameter" /> class.
 /// </summary>
 /// <param name="parameterName">Name of the parameter.</param>
 /// <param name="parameterValue">Value of the parameter.</param>
 /// <param name="useOutputFromPreviousTask">Optional; use the output from a previous task as the input to this parameter.  Set to null (default) to ignore..</param>
 public HttpGetParameter(string parameterName = default(string), string parameterValue = default(string), TaskOutputReference useOutputFromPreviousTask = default(TaskOutputReference))
 {
     this.ParameterName             = parameterName;
     this.ParameterValue            = parameterValue;
     this.UseOutputFromPreviousTask = useOutputFromPreviousTask;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpFormDataParameter" /> class.
 /// </summary>
 /// <param name="parameterName">Name of the parameter.</param>
 /// <param name="parameterTextValue">Text value of the parameter; if set, do not set ParameterFileContents or UseOutputFromPreviousTask.</param>
 /// <param name="parameterFileContents">Binary contents of the parameter; if set, do not set ParameterTextValue or UseOutputFromPreviousTask.</param>
 /// <param name="useOutputFromPreviousTask">Optional; use the output from a previous task as the input to this parameter.  Set to null (default) to ignore..</param>
 public HttpFormDataParameter(string parameterName = default(string), string parameterTextValue = default(string), byte[] parameterFileContents = default(byte[]), TaskOutputReference useOutputFromPreviousTask = default(TaskOutputReference))
 {
     this.ParameterName             = parameterName;
     this.ParameterTextValue        = parameterTextValue;
     this.ParameterFileContents     = parameterFileContents;
     this.UseOutputFromPreviousTask = useOutputFromPreviousTask;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpRawBinaryParameter" /> class.
 /// </summary>
 /// <param name="parameterValue">Binary bytes value of the parameter.</param>
 /// <param name="useOutputFromPreviousTask">Optional; use the output from a previous task as the input to this parameter.  Set to null (default) to ignore..</param>
 public HttpRawBinaryParameter(byte[] parameterValue = default(byte[]), TaskOutputReference useOutputFromPreviousTask = default(TaskOutputReference))
 {
     this.ParameterValue            = parameterValue;
     this.UseOutputFromPreviousTask = useOutputFromPreviousTask;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpOrchestrationHeader" /> class.
 /// </summary>
 /// <param name="headerName">Name of the HTTP header, e.g. \&quot;Content-Type\&quot;.</param>
 /// <param name="headerValue">Value of the HTTP header.</param>
 /// <param name="useOutputFromPreviousTask">Optional; use the output from a previous task as the input to this parameter.  Set to null (default) to ignore..</param>
 public HttpOrchestrationHeader(string headerName = default(string), string headerValue = default(string), TaskOutputReference useOutputFromPreviousTask = default(TaskOutputReference))
 {
     this.HeaderName  = headerName;
     this.HeaderValue = headerValue;
     this.UseOutputFromPreviousTask = useOutputFromPreviousTask;
 }