Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 public virtual void BeforeVisitHandlerIn(HandlerIn handlerIn)
 {
 }
Esempio n. 3
0
 public virtual void VisitHandlerIn(HandlerIn handlerIn)
 {
 }