Class BlackList<T>
A sequence of targets that are not approved.
Implements
IEnumerable<T>
Inherited Members
Namespace: PeerTalk
Assembly: PeerTalk.dll
Syntax
public class BlackList<T> : ConcurrentBag<T>, IProducerConsumerCollection<T>, ICollection, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, IPolicy<T> where T : IEquatable<T>
Type Parameters
Name | Description |
---|---|
T | The type of object that the rule applies to. |
Remarks
Only targets that are not defined will pass.
Methods
| Improve this Doc View SourceIsAllowed(T)
Declaration
public bool IsAllowed(T target)
Parameters
Type | Name | Description |
---|---|---|
T | target |
Returns
Type | Description |
---|---|
Boolean |