Open sandboxFocus

Constructor MulticastImplementation

MulticastImplementation(MulticastTargets, bool)

Initializes a new instance of the MulticastImplementation class.

Declaration
public MulticastImplementation(MulticastTargets concreteTargets, bool multicastOnInheritance = false)
Parameters
Type Name Description
MulticastTargets concreteTargets

The set of targets to which concrete instances of the aspect can be applied. The aspect must implement the corresponding IAspect<T> generic interfaces.

bool multicastOnInheritance

A value indicating whether an aspect instance, when it is inherited, should also multicast to children. The default is false. It corresponds to the Strict multicast inheritance mode in PostSharp. When set to true, the behavior is equivalent to Multicast.