Metalama.Patterns.Observability 2025.0.2-preview

Prefix Reserved
This is a prerelease version of Metalama.Patterns.Observability.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Metalama.Patterns.Observability --version 2025.0.2-preview                
NuGet\Install-Package Metalama.Patterns.Observability -Version 2025.0.2-preview                
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="2025.0.2-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Metalama.Patterns.Observability --version 2025.0.2-preview                
#r "nuget: Metalama.Patterns.Observability, 2025.0.2-preview"                
#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.
// Install Metalama.Patterns.Observability as a Cake Addin
#addin nuget:?package=Metalama.Patterns.Observability&version=2025.0.2-preview&prerelease

// Install Metalama.Patterns.Observability as a Cake Tool
#tool nuget:?package=Metalama.Patterns.Observability&version=2025.0.2-preview&prerelease                

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 is compatible.  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 was computed.  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. 
.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 is compatible.  net472 was computed.  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 (1)

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

Package Downloads
Shinya.Core

Shinya.Framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2025.0.5-preview 70 11/8/2024
2025.0.4-preview 59 10/31/2024
2025.0.3-preview 63 10/25/2024
2025.0.2-preview 62 10/24/2024
2025.0.1-preview 66 10/14/2024
2024.2.29 80 10/31/2024
2024.2.28 81 10/25/2024
2024.2.27 67 10/24/2024
2024.2.26 104 10/14/2024
2024.2.25 153 10/2/2024
2024.2.24 137 9/10/2024
2024.2.23 122 8/30/2024
2024.2.22 93 8/29/2024
2024.2.21 91 8/28/2024
2024.2.20 135 8/15/2024
2024.2.19 1,391 8/1/2024
2024.2.18 70 7/29/2024
2024.2.17-rc 100 7/22/2024
2024.2.16-rc 59 7/18/2024
2024.2.15-rc 43 7/12/2024
2024.2.14-rc 2,481 7/8/2024
2024.2.13-rc 64 7/2/2024
2024.2.12-preview 60 6/28/2024
2024.2.11-preview 55 6/26/2024
2024.2.10-preview 63 6/20/2024
2024.2.9-preview 58 6/11/2024
2024.2.8-preview 50 6/6/2024
2024.2.7-preview 75 5/30/2024
2024.2.6-preview 72 5/25/2024
2024.2.5-preview 74 5/6/2024
2024.2.4-preview 65 5/4/2024
2024.2.3-preview 65 4/30/2024
2024.2.2-preview 63 4/23/2024
2024.2.1-preview 69 4/11/2024
2024.1.30-preview 60 10/24/2024
2024.1.29-preview 73 10/11/2024
2024.1.28-preview 70 9/9/2024
2024.1.27-preview 75 8/28/2024
2024.1.26-preview 94 8/15/2024
2024.1.25-preview 61 7/22/2024
2024.1.24-preview 44 7/12/2024
2024.1.23-preview 55 6/26/2024
2024.1.22-preview 62 6/15/2024
2024.1.21-preview 57 6/6/2024
2024.1.20-preview 61 5/30/2024
2024.1.19-preview 65 5/24/2024
2024.1.18-preview 68 5/6/2024
2024.1.17-preview 29 5/3/2024
2024.1.16-preview 60 4/30/2024
2024.1.15-preview 52 4/29/2024
2024.1.14-preview 58 4/23/2024
2024.1.13-preview 63 4/23/2024
2024.1.12-preview 70 4/17/2024
2024.1.11-preview 61 4/11/2024
2024.1.10-preview 62 4/4/2024
2024.1.9-preview 71 3/27/2024
2024.1.8-preview 61 3/25/2024
2024.1.7-preview 74 3/19/2024
2024.1.6-preview 73 3/6/2024
2024.1.5-preview 66 2/29/2024
2024.1.4-preview 80 2/27/2024
2024.1.3-preview 66 2/23/2024
2024.1.2-preview 81 2/7/2024
2024.1.1-preview 72 1/30/2024
2024.0.16-preview 56 6/15/2024
2024.0.15-preview 65 6/6/2024
2024.0.14-preview 62 5/30/2024
2024.0.13-preview 68 5/24/2024
2024.0.12-preview 78 4/17/2024
2024.0.11-preview 65 3/21/2024
2024.0.10-preview 58 3/19/2024
2024.0.9-preview 79 2/29/2024
2024.0.8-preview 76 2/23/2024
2024.0.7-preview 71 2/7/2024
2024.0.6-preview 112 1/3/2024
2024.0.5-preview 99 12/21/2023
2024.0.4-preview 97 12/12/2023
2024.0.3-preview 83 12/6/2023
2024.0.2-preview 100 11/14/2023
2024.0.1-preview 86 11/6/2023
2023.4.9-preview 74 2/7/2024
2023.4.8-preview 77 12/21/2023
2023.4.7-preview 70 12/12/2023
2023.4.6-preview 72 11/7/2023
2023.4.5-preview 91 10/26/2023
2023.4.4-preview 86 10/18/2023