Beispiel #1
0
 // To create wild permissions
 public Permission(Guid guildId, ResourceType resourceType, PermissionOperationType operationType,
                   PermissionAllowDeny allowDeny)
 {
     GuildId       = guildId;
     ResourceType  = resourceType;
     AllowDeny     = allowDeny;
     OperationType = operationType;
 }
Beispiel #2
0
 public Permission(Guid guildId, Guid resourceId, ResourceType resourceType,
                   PermissionOperationType operationType, PermissionAllowDeny allowDeny, ChildResource childResource)
 {
     GuildId       = guildId;
     ResourceId    = resourceId;
     ResourceType  = resourceType;
     OperationType = operationType;
     AllowDeny     = allowDeny;
     ChildResource = childResource;
 }