Esempio n. 1
0
        }// PermissionSetNode

        //-------------------------------------------------
        // CreateChildren
        //
        // This function creates the node's children, registers
        // the nodes with the node manager, and places the node's
        // cookies in it's child array
        //-------------------------------------------------
        internal override void CreateChildren()
        {
            CNode node    = null;
            int   iCookie = 0;

            node    = new CCodeGroups(ref m_pl, ReadOnly);
            iCookie = CNodeManager.AddNode(ref node);
            AddChild(iCookie);

            node    = new CPermissionSet(m_pl, ReadOnly);
            iCookie = CNodeManager.AddNode(ref node);
            AddChild(iCookie);

            node    = new CTrustedAssemblies(m_pl, ReadOnly);
            iCookie = CNodeManager.AddNode(ref node);
            AddChild(iCookie);
        } // CreateChildren
Esempio n. 2
0
        }// ResetSecurityPolicy

        internal CSingleCodeGroup GetRootCodeGroupNode()
        {
            CCodeGroups node = (CCodeGroups)FindChild(CResourceStore.GetString("CCodeGroups:DisplayName"));

            return(node.GetRootCodeGroupNode());
        }