C# Class Gablarski.Server.ServerContextExtensions

Mostra file Open project: ermau/Gablarski

Public Methods

Method Description
GetPermission ( this self, PermissionName name ) : bool
GetPermission ( this self, PermissionName name, IChannelInfo channel, IConnection connection ) : bool
GetPermission ( this self, PermissionName name, IChannelInfo channel, IUserInfo user ) : bool
GetPermission ( this self, PermissionName name, IConnection connection ) : bool
GetPermission ( this self, PermissionName name, IUserInfo user ) : bool
GetPermission ( this self, PermissionName name, int channelId, int userId ) : bool

Method Details

GetPermission() public static method

public static GetPermission ( this self, PermissionName name ) : bool
self this
name PermissionName
return bool

GetPermission() public static method

public static GetPermission ( this self, PermissionName name, IChannelInfo channel, IConnection connection ) : bool
self this
name PermissionName
channel IChannelInfo
connection IConnection
return bool

GetPermission() public static method

public static GetPermission ( this self, PermissionName name, IChannelInfo channel, IUserInfo user ) : bool
self this
name PermissionName
channel IChannelInfo
user IUserInfo
return bool

GetPermission() public static method

public static GetPermission ( this self, PermissionName name, IConnection connection ) : bool
self this
name PermissionName
connection IConnection
return bool

GetPermission() public static method

public static GetPermission ( this self, PermissionName name, IUserInfo user ) : bool
self this
name PermissionName
user IUserInfo
return bool

GetPermission() public static method

public static GetPermission ( this self, PermissionName name, int channelId, int userId ) : bool
self this
name PermissionName
channelId int
userId int
return bool