Open sandboxFocus

Class SuppressObservabilityWarningsAttribute

Specifies that the ObservableAttribute aspect must not report warnings when it meets an unsupported exception in the target type or member. These warnings can otherwise be suppressed using the #pragma warning disable directive.

Inheritance
SuppressObservabilityWarningsAttribute
Namespace: Metalama.Patterns.Observability
Assembly: Metalama.Patterns.Observability.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field)]
public sealed class SuppressObservabilityWarningsAttribute : Attribute, IHierarchicalOptionsProvider

Constructors

Name Description
SuppressObservabilityWarningsAttribute(bool)