Class Policy<T>
A base for defining a policy.
Inherited Members
Namespace: PeerTalk
Assembly: PeerTalk.dll
Syntax
public abstract class Policy<T> : IPolicy<T>
Type Parameters
Name | Description |
---|---|
T | The type of object that the rule applies to. |
Methods
| Improve this Doc View SourceIsAllowed(T)
Declaration
public abstract bool IsAllowed(T target)
Parameters
Type | Name | Description |
---|---|---|
T | target |
Returns
Type | Description |
---|---|
Boolean |
IsNotAllowed(T)
Declaration
public bool IsNotAllowed(T target)
Parameters
Type | Name | Description |
---|---|---|
T | target |
Returns
Type | Description |
---|---|
Boolean |