Пример #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);
        }