MetalamaAPI documentationExtensions APIMetalama.​Extensions.​MulticastMulticast­AspectMulticast­Aspect
Open sandboxFocus

MulticastAspect Constructor

MulticastAspect(MulticastTargets, Boolean)

Initializes a new instance of the MulticastAspect class.

protected MulticastAspect(MulticastTargets targets, bool multicastOnInheritance = false)
Type Name Description
MulticastTargets targets

The set of targets that this aspect can be multicast to. The aspect class must also implement the corresponding generic instances of the IAspect<T> interface.

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.