public SubscriptionBuilder FromDependency(SceneConfig.SceneDependency sceneDependency)
 {
     _subscription = new PubSubProxyActor.SubToAction
     {
         ActionName = sceneDependency.Action
     };
     return(this);
 }
Beispiel #2
0
 public static bool IsMatch(this SceneConfig.SceneDependency i, ActionResultEvent e)
 {
     return(i.Action.Equals(e.ActionName, StringComparison.InvariantCultureIgnoreCase) &&
            (i.When == null ||
             i.When == e.Result));
 }