BananaHook.Specs.Infrastructure.describe_MemoryPageProtector.when_changing_protection_flags_for_execution C# (CSharp) Метод

when_changing_protection_flags_for_execution() приватный Метод

private when_changing_protection_flags_for_execution ( ) : void
Результат void
        void when_changing_protection_flags_for_execution()
        {
            act = () => _protector.ExecuteWithProtection(RequestedProtection, () => _protection.CurrentProtectection.should_be(RequestedProtection));

            it["should have set and reset the protection flags"] = () => _protection.HasChanged.should_be_true();
        }