Open sandboxFocus

Class ObservabilityTypeOptionsBuilder

Builds dependency options. Used at the level of ICompilation, INamespace and INamedType.

Inheritance
ObservabilityTypeOptionsBuilder
Namespace: Metalama.Patterns.Observability.Configuration
Assembly: Metalama.Patterns.Observability.dll
Syntax
[CompileTime]
public sealed class ObservabilityTypeOptionsBuilder

Constructors

Name Description
ObservabilityTypeOptionsBuilder()

Properties

Name Description
EnableOnObservablePropertyChangedMethod

Gets or sets a value indicating whether the OnObservablePropertyChanged method should be introduced. The default value is true.

ObservabilityContract

Gets or sets an ObservabilityContract for the target member, guaranteeing its behavior with respect to the ObservableAttribute aspect.

ObservabilityStrategy

Gets or sets the IObservabilityStrategy used to implement the ObservableAttribute aspect.

SuppressWarnings

Gets or sets a value whether observability warnings in the target members must be suppressed.