private IEnumerable <EntityGroupIn> GetHandlerInputs() { bool hasMappings = false; var meta = Meta; if (meta != null) { foreach (var item in Meta.GetAllMembers()) { if (!item.HasAttribute <uFrameEventMapping>()) { continue; } var variableIn = new HandlerIn() { Repository = Repository, EventFieldInfo = item, Node = this, Identifier = this.Identifier + ":" + item.MemberName, }; yield return(variableIn); //if (item.MemberName != "EntityId") hasMappings = true; } } if (!hasMappings) { yield return(EntityGroup); } }
public virtual void BeforeVisitHandlerIn(HandlerIn handlerIn) { }
public virtual void VisitHandlerIn(HandlerIn handlerIn) { }