Metalama.Patterns.Observability 2026.0.12

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Metalama.Patterns.Observability --version 2026.0.12
                    
NuGet\Install-Package Metalama.Patterns.Observability -Version 2026.0.12
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Metalama.Patterns.Observability" Version="2026.0.12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Metalama.Patterns.Observability" Version="2026.0.12" />
                    
Directory.Packages.props
<PackageReference Include="Metalama.Patterns.Observability" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Metalama.Patterns.Observability --version 2026.0.12
                    
#r "nuget: Metalama.Patterns.Observability, 2026.0.12"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Metalama.Patterns.Observability@2026.0.12
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Metalama.Patterns.Observability&version=2026.0.12
                    
Install as a Cake Addin
#tool nuget:?package=Metalama.Patterns.Observability&version=2026.0.12
                    
Install as a Cake Tool

Metalama Logo

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:

  • ObservableAttribute is a type-level aspect that implements the Observer pattern and the INotifyPropertyChanged interface.
  • NotObservableAttribute is an attribute that waives a property from the ObservableAttribute aspect.
  • ConstantAttribute is an attribute that represents that a method is safed for use from a property made observable by the ObservableAttribute aspect.
  • SuppressObservabilityWarningsAttribute is an attribute that suppresses all warnings reported by the ObservableAttribute aspect in the target property.
  • ObservabilityExtensions.ConfigureObservability is a fabric extension method that allows to configure the ObservableAttribute aspect.

Additional Documentation

  • Metalama.Patterns.Immutability implements the immutability concept used by the current package to decide which method calls are supported in property getters.
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Metalama.Patterns.Observability:

Package Downloads
Shinya.Core

Shinya.Framework

LyuExtensions

一些简单的拓展方法集合和C#特性/切面集合

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1.1-preview 49 2/5/2026
2026.1.0-preview 159 2/1/2026
2026.0.16 329 1/24/2026
2026.0.15 348 1/14/2026
2026.0.14 90 1/13/2026
2026.0.13 93 1/12/2026
2026.0.12 112 1/9/2026
2026.0.11 182 1/5/2026
2026.0.10-rc 430 12/19/2025
2026.0.9-rc 248 12/12/2025
2026.0.8-rc 422 12/9/2025
2026.0.7-rc 249 12/4/2025
2026.0.6-rc 211 11/28/2025
2026.0.5-preview 502 11/12/2025
2026.0.4-preview 142 11/8/2025
2026.0.3-preview 321 10/30/2025
2026.0.2-preview 178 10/7/2025
2026.0.1-preview 110 10/4/2025
2025.2.5-rc 186 10/7/2025
2025.2.4-rc 170 10/1/2025
2025.2.2-preview 724 9/19/2025
2025.2.1-preview 253 9/9/2025
2025.1.17 644 12/9/2025
2025.1.16 447 10/22/2025
2025.1.15 392 10/7/2025
2025.1.14 201 9/30/2025
2025.1.13 276 9/5/2025
2025.1.12 471 8/7/2025
2025.1.11 628 7/23/2025
2025.1.10 534 7/3/2025
2025.1.9 734 5/29/2025
2025.1.8 223 5/26/2025
2025.1.7 215 5/22/2025
2025.1.6 354 5/15/2025
2025.1.5 207 5/2/2025
2025.1.4-rc 331 4/15/2025
2025.1.3-rc 264 4/9/2025
2025.1.2-preview 271 4/1/2025
2025.1.1-preview 228 3/18/2025
2025.0.12 209 5/22/2025
2025.0.11 182 5/2/2025
2025.0.10 280 3/31/2025
2025.0.9 352 3/7/2025
2025.0.8 406 1/6/2025
2025.0.7-rc 288 12/6/2024
2025.0.6-rc 245 11/15/2024
2025.0.5-preview 198 11/8/2024
2025.0.4-preview 135 10/31/2024
2025.0.3-preview 153 10/25/2024
2025.0.2-preview 171 10/24/2024
2025.0.1-preview 140 10/14/2024
2024.2.32 299 3/7/2025
2024.2.31 201 12/6/2024
2024.2.30 229 11/15/2024
2024.2.29 198 10/31/2024
2024.2.28 163 10/25/2024
2024.2.27 164 10/24/2024
2024.2.26 280 10/14/2024
2024.2.25 255 10/2/2024
2024.2.24 222 9/10/2024
2024.2.23 231 8/30/2024
2024.2.22 190 8/29/2024
2024.2.21 175 8/28/2024
2024.2.20 205 8/15/2024
2024.2.19 1,689 8/1/2024
2024.2.18 240 7/29/2024
2024.2.17-rc 211 7/22/2024
2024.2.16-rc 133 7/18/2024
2024.2.15-rc 114 7/12/2024
2024.2.14-rc 3,007 7/8/2024
2024.2.13-rc 166 7/2/2024
2024.2.12-preview 176 6/28/2024
2024.2.11-preview 120 6/26/2024
2024.2.10-preview 157 6/20/2024
2024.2.9-preview 162 6/11/2024
2024.2.8-preview 114 6/6/2024
2024.2.7-preview 148 5/30/2024
2024.2.6-preview 148 5/25/2024
2024.2.5-preview 157 5/6/2024
2024.2.4-preview 136 5/4/2024
2024.2.3-preview 152 4/30/2024
2024.2.2-preview 173 4/23/2024
2024.2.1-preview 169 4/11/2024
2024.1.30-preview 154 10/24/2024
2024.1.29-preview 175 10/11/2024
2024.1.28-preview 165 9/9/2024
2024.1.27-preview 182 8/28/2024
2024.1.26-preview 191 8/15/2024
2024.1.25-preview 161 7/22/2024
2024.1.24-preview 124 7/12/2024
2024.1.23-preview 122 6/26/2024
2024.1.22-preview 121 6/15/2024
2024.1.21-preview 130 6/6/2024
2024.1.20-preview 127 5/30/2024
2024.1.19-preview 158 5/24/2024
2024.1.18-preview 140 5/6/2024
2024.1.17-preview 104 5/3/2024
2024.1.16-preview 153 4/30/2024
2024.1.15-preview 119 4/29/2024
2024.1.14-preview 164 4/23/2024
2024.1.13-preview 134 4/23/2024
2024.1.12-preview 174 4/17/2024
2024.1.11-preview 154 4/11/2024
2024.1.10-preview 138 4/4/2024
2024.1.9-preview 133 3/27/2024
2024.1.8-preview 165 3/25/2024
2024.1.7-preview 125 3/19/2024
2024.1.6-preview 162 3/6/2024
2024.1.5-preview 148 2/29/2024
2024.1.4-preview 180 2/27/2024
2024.1.3-preview 132 2/23/2024
2024.1.2-preview 156 2/7/2024
2024.1.1-preview 157 1/30/2024
2024.0.16-preview 161 6/15/2024
2024.0.15-preview 127 6/6/2024
2024.0.14-preview 122 5/30/2024
2024.0.13-preview 148 5/24/2024
2024.0.12-preview 145 4/17/2024
2024.0.11-preview 153 3/21/2024
2024.0.10-preview 157 3/19/2024
2024.0.9-preview 164 2/29/2024
2024.0.8-preview 180 2/23/2024
2024.0.7-preview 164 2/7/2024
2024.0.6-preview 226 1/3/2024
2024.0.5-preview 184 12/21/2023
2024.0.4-preview 157 12/12/2023
2024.0.3-preview 136 12/6/2023
2024.0.2-preview 166 11/14/2023
2024.0.1-preview 171 11/6/2023
2023.4.9-preview 157 2/7/2024
2023.4.8-preview 151 12/21/2023
2023.4.7-preview 123 12/12/2023
2023.4.6-preview 177 11/7/2023
2023.4.5-preview 194 10/26/2023
2023.4.4-preview 152 10/18/2023