示例#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;
 }
示例#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;
			}