C# Class PRTools.Domain.Services.AuthorizationService

Inheritance: IAuthorizationService
显示文件 Open project: AcklenAvenue/PRTools

Public Methods

Method Description
AuthorizationService ( IAccountRepository accountRepository ) : System
CanExecute ( string username, Type type ) : bool
CanExecute ( string username, string commandName ) : bool

Method Details

AuthorizationService() public method

public AuthorizationService ( IAccountRepository accountRepository ) : System
accountRepository IAccountRepository
return System

CanExecute() public method

public CanExecute ( string username, Type type ) : bool
username string
type System.Type
return bool

CanExecute() public method

public CanExecute ( string username, string commandName ) : bool
username string
commandName string
return bool