MetalamaAPI documentationExtensions APIMetalama.​Extensions.​MulticastMulticast­ImplementationMulticast­Implementation
Open sandboxFocus

MulticastImplementation Constructor

MulticastImplementation(MulticastTargets, Boolean)

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.

System.Boolean 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.