Table of Contents

Interface IPolicySet

Namespace
Unity.Policy
Assembly
Unity.Abstractions.dll
public interface IPolicySet
Extension Methods

Methods

Clear(Type)

Remove specific policy from the list

void Clear(Type policyInterface)

Parameters

policyInterface Type

Type of policy to be removed

Get(Type)

Get policy

object Get(Type policyInterface)

Parameters

policyInterface Type

Type of policy to retrieve

Returns

object

Instance of the policy or null if none found

Set(Type, object)

Set policy

void Set(Type policyInterface, object policy)

Parameters

policyInterface Type

Type of policy to be set

policy object

Policy instance to be set