Metalama.Patterns.Observability
2026.1.31
Prefix Reserved
See the version list below for details.
dotnet add package Metalama.Patterns.Observability --version 2026.1.31
NuGet\Install-Package Metalama.Patterns.Observability -Version 2026.1.31
<PackageReference Include="Metalama.Patterns.Observability" Version="2026.1.31" />
<PackageVersion Include="Metalama.Patterns.Observability" Version="2026.1.31" />
<PackageReference Include="Metalama.Patterns.Observability" />
paket add Metalama.Patterns.Observability --version 2026.1.31
#r "nuget: Metalama.Patterns.Observability, 2026.1.31"
#:package Metalama.Patterns.Observability@2026.1.31
#addin nuget:?package=Metalama.Patterns.Observability&version=2026.1.31
#tool nuget:?package=Metalama.Patterns.Observability&version=2026.1.31
About
The Metalama.Patterns.Observability contains an aspect that implements the Observer pattern, i.e. the INotifyPropertyChanged interface.
Key Features
- Supports automatic properties, explicit properties (including field-backed properties).
- Supports child objects, i.e. properties like
string FullName => $"{this.Model.FirstName} {this.Model.LastName}". - Idiomatic. Does not require you to change your coding patterns (unlike the MVVM community toolkit).
- Safe. Reports warnings when a property dependency is not understood.
Main Types
The primary types in this package are:
ObservableAttributeis a type-level aspect that implements the Observer pattern and theINotifyPropertyChangedinterface.NotObservableAttributeis an attribute that waives a property from theObservableAttributeaspect.ConstantAttributeis an attribute that represents that a method is safe for use from a property made observable by theObservableAttributeaspect.SuppressObservabilityWarningsAttributeis an attribute that suppresses all warnings reported by theObservableAttributeaspect in the target property.ObservabilityExtensions.ConfigureObservabilityis a fabric extension method that allows to configure theObservableAttributeaspect.
Additional Documentation
Related Packages
Metalama.Patterns.Immutabilityimplements the immutability concept used by the current package to decide which method calls are supported in property getters.
AI Coding Assistants
If you use an AI coding assistant such as Claude Code, install the Metalama AI Skills plugin. It gives the assistant access to the Metalama conceptual documentation, the API reference, and code samples.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- Metalama.Framework (>= 2026.1.31)
- Metalama.Patterns.Immutability (>= 2026.1.31)
-
.NETStandard 2.0
- Metalama.Framework (>= 2026.1.31)
- Metalama.Patterns.Immutability (>= 2026.1.31)
-
net8.0
- Metalama.Framework (>= 2026.1.31)
- Metalama.Patterns.Immutability (>= 2026.1.31)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Metalama.Patterns.Observability:
| Package | Downloads |
|---|---|
|
Shinya.Core
Shinya.Framework |
|
|
Shinya.Orm.Abstractions
Shinya.Framework |
|
|
Shinya.Hosting
Generic host-based hosting service abstractions |
|
|
Vion.Dale.Sdk
Dale SDK for developing logic blocks |
|
|
LyuExtensions
一些简单的拓展方法集合和C#特性/切面集合和性能高的依赖 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2027.0.5-preview | 38 | 10/30/2026 |
| 2027.0.4-preview | 94 | 10/13/2026 |
| 2027.0.3-preview | 93 | 9/16/2026 |
| 2027.0.2-preview | 109 | 9/10/2026 |
| 2027.0.1-preview | 111 | 9/7/2026 |
| 2026.1.31 | 105 | 10/29/2026 |
| 2026.1.30 | 1,897 | 10/13/2026 |
| 2026.1.29 | 1,115 | 10/2/2026 |
| 2026.1.28 | 1,864 | 9/16/2026 |
| 2026.1.27 | 481 | 9/10/2026 |
| 2026.1.26 | 314 | 9/5/2026 |
| 2026.1.25 | 1,022 | 8/21/2026 |
| 2026.1.24 | 566 | 8/13/2026 |
| 2026.1.23 | 133 | 8/10/2026 |
| 2026.1.22 | 401 | 8/5/2026 |
| 2026.1.21 | 2,629 | 7/21/2026 |
| 2026.1.20 | 1,400 | 7/15/2026 |
| 2026.1.19 | 3,295 | 6/27/2026 |
| 2026.0.25 | 149 | 6/30/2026 |
| 2025.1.18 | 135 | 6/30/2026 |