public MenuButtonIdIndex(StateContext context) : base() { groupToWatch = context.GetGroup(Matcher <StateEntity> .AllOf(StateMatcher.MenuButtonId)); groupToWatch.OnEntityAdded += Added; groupToWatch.OnEntityUpdated += Updated; groupToWatch.OnEntityRemoved += Removed; }
public ChannelIndex(StateContext context) : base() { groupToWatch = context.GetGroup(Matcher <StateEntity> .AllOf(StateMatcher.Channel)); groupToWatch.OnEntityAdded += Added; groupToWatch.OnEntityUpdated += Updated; groupToWatch.OnEntityRemoved += Removed; }