Show / Hide Table of Contents

Class BlackList<T>

A sequence of targets that are not approved.

Inheritance
Object
ConcurrentBag<T>
BlackList<T>
Implements
IProducerConsumerCollection<T>
ICollection
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
Inherited Members
ConcurrentBag<T>.Add(T)
ConcurrentBag<T>.CopyTo(T[], Int32)
ConcurrentBag<T>.GetEnumerator()
ConcurrentBag<T>.IProducerConsumerCollection<T>.TryAdd(T)
ConcurrentBag<T>.ICollection.CopyTo(Array, Int32)
ConcurrentBag<T>.IEnumerable.GetEnumerator()
ConcurrentBag<T>.ToArray()
ConcurrentBag<T>.TryPeek(T)
ConcurrentBag<T>.TryTake(T)
ConcurrentBag<T>.Count
ConcurrentBag<T>.IsEmpty
ConcurrentBag<T>.ICollection.IsSynchronized
ConcurrentBag<T>.ICollection.SyncRoot
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 Source

IsAllowed(T)

Declaration
public bool IsAllowed(T target)
Parameters
Type Name Description
T target
Returns
Type Description
Boolean

Implements

System.Collections.Concurrent.IProducerConsumerCollection<T>
System.Collections.ICollection
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods

TaskHelper.ParallelForEachAsync<T>(IEnumerable<T>, Func<T, Task>, Int32)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX