Example #1
0
        public virtual void UnregisterSection(Net.Vpc.Upa.Section item)
        {
            Net.Vpc.Upa.Entity  entity = item.GetEntity();
            Net.Vpc.Upa.Package module = entity.GetParent();
            string s = (module == null ? "/" : module.GetPath() + "/") + entity.GetName() + "/" + item.GetPath();

            sections.Remove(s);
        }
Example #2
0
        public virtual bool ContainsSection(Net.Vpc.Upa.Section item)
        {
            Net.Vpc.Upa.Entity  entity = item.GetEntity();
            Net.Vpc.Upa.Package module = entity.GetParent();
            string s = (module == null ? "/" : module.GetPath() + "/") + entity.GetName() + "/" + item.GetPath();

            return(sections.ContainsKey(s));
        }