/// <summary> /// Initializes a new instance of the <see cref="ChatMessageStoreChangedEventData"/> class. /// </summary> /// <param name="id">The ID of the object that changed.</param> /// <param name="kind">The type of change that happened.</param> internal ChatMessageStoreChangedEventData(string id, ChatStoreChangedEventKind kind) { this.Id = id; this.Kind = kind; }
private void PublishStoreChange(string id, ChatStoreChangedEventKind kind) { this.storeChangedStream.OnNext(new ChatMessageStoreChangedEventData(id, kind)); }