Show / Hide Table of Contents

Class Policy<T>

A base for defining a policy.

Inheritance
Object
Policy<T>
PolicyAlways<T>
PolicyNever<T>
Inherited Members
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 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 Source

IsAllowed(T)

Declaration
public abstract bool IsAllowed(T target)
Parameters
Type Name Description
T target
Returns
Type Description
Boolean
| Improve this Doc View Source

IsNotAllowed(T)

Declaration
public bool IsNotAllowed(T target)
Parameters
Type Name Description
T target
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Generated by DocFX