public override void OnCreateEntity(Net.Vpc.Upa.Callbacks.EntityEvent @event) { Net.Vpc.Upa.Entity e = @event.GetEntity(); if (filter.Accept(e)) { if (!added.Contains(e.GetName())) { added.Add(e.GetName()); configurator.Install(e); } } }
public virtual bool Accept(Net.Vpc.Upa.Entity entity) /* throws Net.Vpc.Upa.Exceptions.UPAException */ { for (int i = (v).Count - 1; i >= 0; i--) { Net.Vpc.Upa.Filters.EntityFilter entityFilter = v[i]; if (!entityFilter.Accept(entity)) { return(false); } } return(true); }
public virtual bool Accept(Net.Vpc.Upa.Entity entity) /* throws Net.Vpc.Upa.Exceptions.UPAException */ { return([email protected](entity)); }