Open sandboxFocus

Method ConfigureObservability

ConfigureObservability(IAspectReceiver<ICompilation>, Action<ObservabilityTypeOptionsBuilder>)

Configures ObservableAttribute for the current project.

Declaration
public static void ConfigureObservability(this IAspectReceiver<ICompilation> receiver, Action<ObservabilityTypeOptionsBuilder> configure)
Parameters
Type Name Description
IAspectReceiver<ICompilation> receiver

The IAspectReceiver<TDeclaration> for the current compilation.

Action<ObservabilityTypeOptionsBuilder> configure

A delegate that configures the aspect.

ConfigureObservability(IAspectReceiver<INamespace>, Action<ObservabilityTypeOptionsBuilder>)

Configures ObservableAttribute for the current namespace.

Declaration
public static void ConfigureObservability(this IAspectReceiver<INamespace> receiver, Action<ObservabilityTypeOptionsBuilder> configure)
Parameters
Type Name Description
IAspectReceiver<INamespace> receiver

The IAspectReceiver<TDeclaration> for the current namespace.

Action<ObservabilityTypeOptionsBuilder> configure

A delegate that configures the aspect.

ConfigureObservability(IAspectReceiver<INamedType>, Action<ObservabilityTypeOptionsBuilder>)

Configures ObservableAttribute for the current type.

Declaration
public static void ConfigureObservability(this IAspectReceiver<INamedType> receiver, Action<ObservabilityTypeOptionsBuilder> configure)
Parameters
Type Name Description
IAspectReceiver<INamedType> receiver

The IAspectReceiver<TDeclaration> for the current type.

Action<ObservabilityTypeOptionsBuilder> configure

A delegate that configures the aspect.

ConfigureObservability(IAspectReceiver<IMember>, Action<ObservabilityMemberOptionsBuilder>)

Configures ObservableAttribute for the current member.

Declaration
public static void ConfigureObservability(this IAspectReceiver<IMember> receiver, Action<ObservabilityMemberOptionsBuilder> configure)
Parameters
Type Name Description
IAspectReceiver<IMember> receiver

The IAspectReceiver<TDeclaration> for the current type.

Action<ObservabilityMemberOptionsBuilder> configure

A delegate that configures the aspect.