示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ApplicationTestClient{T}"/> class.
 /// </summary>
 /// <param name="reader">
 /// The reader.
 /// </param>
 /// <param name="writer">
 /// The writer.
 /// </param>
 public ApplicationTestClient(IVocabularyReader <T> reader, IVocabularyWriter <T> writer)
 {
     this._reader = reader;
     this._writer = writer;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WcfApplicationServer"/> class.
 /// </summary>
 /// <param name="reader">
 /// The reader vocabulary.
 /// </param>
 public WcfApplicationServer(IVocabularyReader <string> reader)
 {
     this.reader     = reader;
     this.Throughput = 10;
 }