Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StreamConsumer"/> class.
 /// </summary>
 /// <param name="enclosingInstance">The enclosing instance.</param>
 /// <param name="inputStream">The input stream.</param>
 /// <param name="type">The type.</param>
 public StreamConsumer(NativeJob enclosingInstance, Stream inputStream, string type)
 {
     this.enclosingInstance = enclosingInstance;
     this.inputStream       = inputStream;
     this.type = type;
 }
Example #2
0
            /// <summary>
            /// Initializes a new instance of the <see cref="StreamConsumer"/> class.
            /// </summary>
            /// <param name="enclosingInstance">The enclosing instance.</param>
            /// <param name="inputStream">The input stream.</param>
            /// <param name="type">The type.</param>
			public StreamConsumer(NativeJob enclosingInstance, Stream inputStream, string type)
			{
				this.enclosingInstance = enclosingInstance;
				this.inputStream = inputStream;
				this.type = type;
			}