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