Open sandboxFocus

Constructor MulticastAttributeUsageAttribute

MulticastAttributeUsageAttribute(MulticastTargets)

In Metalama, the valid targets are determined by the declaration types for which the IAspect<T> interface is implemented. Additionally, you can implement the BuildEligibility(IEligibilityBuilder<T>) method.

Declaration
[Obsolete("In Metalama, the valid targets are determined by the declaration types for which the 'IAspect<T>' interface is implemented. Additionally, you can implement the 'IEligible<T>.BuildEligibility(IEligibilityBuilder<T>)' method.", false)]
public MulticastAttributeUsageAttribute(MulticastTargets validOn)
Parameters
Type Name Description
MulticastTargets validOn
Exceptions
Type Condition
NotImplementedException

MulticastAttributeUsageAttribute()

Declaration
public MulticastAttributeUsageAttribute()