Class PermissionSet
Represents a set of Permissions that can be allowed/denied.
Inheritance
System.Object
PermissionSet
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Configuration.Permissions
Assembly: dotNetRdf.dll
Syntax
public class PermissionSet : IPermission
Constructors
| Improve this Doc View SourcePermissionSet(IEnumerable<string>)
Creates a new Permissions Set.
Declaration
public PermissionSet(IEnumerable<string> actions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T><string> | actions | Actions. |
PermissionSet(string)
Creates a new Permissions Set.
Declaration
public PermissionSet(string action)
Parameters
Type | Name | Description |
---|---|---|
string | action | Action. |
Methods
| Improve this Doc View SourceIsPermissionFor(string)
Gets whether the Permission is for the given action.
Declaration
public bool IsPermissionFor(string action)
Parameters
Type | Name | Description |
---|---|---|
string | action | Action. |
Returns
Type | Description |
---|---|
System.Boolean |