C# Класс Gablarski.Server.ServerContextExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetPermission() публичный статический Метод

public static GetPermission ( this self, PermissionName name ) : bool
self this
name PermissionName
Результат bool

GetPermission() публичный статический Метод

public static GetPermission ( this self, PermissionName name, IChannelInfo channel, IConnection connection ) : bool
self this
name PermissionName
channel IChannelInfo
connection IConnection
Результат bool

GetPermission() публичный статический Метод

public static GetPermission ( this self, PermissionName name, IChannelInfo channel, IUserInfo user ) : bool
self this
name PermissionName
channel IChannelInfo
user IUserInfo
Результат bool

GetPermission() публичный статический Метод

public static GetPermission ( this self, PermissionName name, IConnection connection ) : bool
self this
name PermissionName
connection IConnection
Результат bool

GetPermission() публичный статический Метод

public static GetPermission ( this self, PermissionName name, IUserInfo user ) : bool
self this
name PermissionName
user IUserInfo
Результат bool

GetPermission() публичный статический Метод

public static GetPermission ( this self, PermissionName name, int channelId, int userId ) : bool
self this
name PermissionName
channelId int
userId int
Результат bool