OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Interface IPermissionRolesDataStore

Namespace: OpenMod.Core.Permissions
Assembly: OpenMod.Core.dll
Syntax
public interface IPermissionRolesDataStore

Properties

| Improve this Doc View Source

Roles

Declaration
List<PermissionRoleData> Roles { get; }
Property Value
Type Description
List<PermissionRoleData>

Methods

| Improve this Doc View Source

GetRoleAsync(String)

Declaration
Task<PermissionRoleData> GetRoleAsync(string id)
Parameters
Type Name Description
System.String id
Returns
Type Description
Task<PermissionRoleData>
| Improve this Doc View Source

GetRoleDataAsync<T>(String, String)

Declaration
Task<T> GetRoleDataAsync<T>(string roleId, string key)
Parameters
Type Name Description
System.String roleId
System.String key
Returns
Type Description
Task<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

ReloadAsync()

Declaration
Task ReloadAsync()
Returns
Type Description
Task
| Improve this Doc View Source

SaveChangesAsync()

Declaration
Task SaveChangesAsync()
Returns
Type Description
Task

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)