C# Class Deveel.Data.Security.AssertResult

Show file Open project: deveel/deveeldb

Public Methods

Method Description
Allow ( ) : AssertResult
Deny ( ) : AssertResult
Deny ( Exception error ) : AssertResult
Deny ( string errorMessage ) : AssertResult

Private Methods

Method Description
AssertResult ( AccessPolicy policy, Exception error ) : System

Method Details

Allow() public static method

public static Allow ( ) : AssertResult
return AssertResult

Deny() public static method

public static Deny ( ) : AssertResult
return AssertResult

Deny() public static method

public static Deny ( Exception error ) : AssertResult
error System.Exception
return AssertResult

Deny() public static method

public static Deny ( string errorMessage ) : AssertResult
errorMessage string
return AssertResult