Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StreamUpdate{T}"/> class.
 /// </summary>
 /// <param name="updateType">The type of update being performed.</param>
 /// <param name="message">The update data, or null if the update type is delete.</param>
 public StreamUpdate(StreamUpdateType updateType, Message <T> message)
 {
     this.UpdateType = updateType;
     this.Message    = message;
 }
Exemplo n.º 2
0
 private StreamUpdate(StreamUpdateType updateType, long value, byte[] data)
 {
     this.updateType = updateType;
     this.value = value;
     this.data = data;
 }