/// <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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpWwwFormUrlEncodedParameter" /> class.
 /// </summary>
 /// <param name="keyName">Key name of the parameter.</param>
 /// <param name="keyValue">Key value of the paramer (must be of type text); if set, do not use 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 HttpWwwFormUrlEncodedParameter(string keyName = default(string), string keyValue = default(string), TaskOutputReference useOutputFromPreviousTask = default(TaskOutputReference))
 {
     this.KeyName  = keyName;
     this.KeyValue = keyValue;
     this.UseOutputFromPreviousTask = useOutputFromPreviousTask;
 }
 /// <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;
 }
Exemplo n.º 4
0
 /// <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;
 }
 /// <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;
 }