Пример #1
0
    public void setParent(RoleAttributeLogic parent)
    {
        _parent = parent;

        setInfo(AttributeControl.roleAttribute);
        setIsM(true);
    }
Пример #2
0
        protected override RoleAttributeLogic createRoleAttributeLogic()
        {
            if (!_g7)
            {
                _m7 = instance.Type.GetMethod("createRoleAttributeLogic", 0);
                _g7 = true;
            }

            if (_m7 != null && !_b7)
            {
                _b7 = true;
                RoleAttributeLogic re = (RoleAttributeLogic)appdomain.Invoke(_m7, instance, null);
                _b7 = false;
                return(re);
            }
            else
            {
                return(base.createRoleAttributeLogic());
            }
        }
Пример #3
0
 protected override void registLogics()
 {
     addLogic(attribute = createRoleAttributeLogic());
     addLogic(force     = createRoleForceLogic());
     addLogic(build     = createRoleBuildLogic());
 }