Пример #1
0
        private static void Put(bool create, bool read, bool update, bool delete, bool execute)
        {
            IPropertyPrivilege propertyPrivilege = PropertyPrivilegeImpl.Create(create, read, update, delete);
            int index = CalcIndex(create, read, update, delete, execute);

            array[index] = new SimplePrivilegeImpl(create, read, update, delete, execute, propertyPrivilege);
        }
Пример #2
0
        private static void Put(bool create, bool read, bool update, bool delete)
        {
            int index = CalcIndex(create, read, update, delete);

            array[index] = new PropertyPrivilegeImpl(create, read, update, delete);
        }