Metalama.Patterns.Observability 2024.2.30

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

// Install Metalama.Patterns.Observability as a Cake Tool
#tool nuget:?package=Metalama.Patterns.Observability&version=2024.2.30                

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.6-rc 153 11/15/2024
2025.0.5-preview 95 11/8/2024
2025.0.4-preview 63 10/31/2024
2025.0.3-preview 66 10/25/2024
2025.0.2-preview 65 10/24/2024
2025.0.1-preview 69 10/14/2024
2024.2.30 109 11/15/2024
2024.2.29 91 10/31/2024
2024.2.28 91 10/25/2024
2024.2.27 74 10/24/2024
2024.2.26 124 10/14/2024
2024.2.25 172 10/2/2024
2024.2.24 143 9/10/2024
2024.2.23 126 8/30/2024
2024.2.22 97 8/29/2024
2024.2.21 95 8/28/2024
2024.2.20 139 8/15/2024
2024.2.19 1,417 8/1/2024
2024.2.18 74 7/29/2024
2024.2.17-rc 102 7/22/2024
2024.2.16-rc 61 7/18/2024
2024.2.15-rc 45 7/12/2024
2024.2.14-rc 2,498 7/8/2024
2024.2.13-rc 66 7/2/2024
2024.2.12-preview 62 6/28/2024
2024.2.11-preview 57 6/26/2024
2024.2.10-preview 65 6/20/2024
2024.2.9-preview 60 6/11/2024
2024.2.8-preview 52 6/6/2024
2024.2.7-preview 77 5/30/2024
2024.2.6-preview 74 5/25/2024
2024.2.5-preview 76 5/6/2024
2024.2.4-preview 67 5/4/2024
2024.2.3-preview 67 4/30/2024
2024.2.2-preview 65 4/23/2024
2024.2.1-preview 71 4/11/2024
2024.1.30-preview 63 10/24/2024
2024.1.29-preview 75 10/11/2024
2024.1.28-preview 72 9/9/2024
2024.1.27-preview 77 8/28/2024
2024.1.26-preview 96 8/15/2024
2024.1.25-preview 63 7/22/2024
2024.1.24-preview 46 7/12/2024
2024.1.23-preview 57 6/26/2024
2024.1.22-preview 64 6/15/2024
2024.1.21-preview 59 6/6/2024
2024.1.20-preview 63 5/30/2024
2024.1.19-preview 67 5/24/2024
2024.1.18-preview 70 5/6/2024
2024.1.17-preview 31 5/3/2024
2024.1.16-preview 62 4/30/2024
2024.1.15-preview 54 4/29/2024
2024.1.14-preview 60 4/23/2024
2024.1.13-preview 65 4/23/2024
2024.1.12-preview 72 4/17/2024
2024.1.11-preview 63 4/11/2024
2024.1.10-preview 64 4/4/2024
2024.1.9-preview 73 3/27/2024
2024.1.8-preview 63 3/25/2024
2024.1.7-preview 76 3/19/2024
2024.1.6-preview 75 3/6/2024
2024.1.5-preview 70 2/29/2024
2024.1.4-preview 82 2/27/2024
2024.1.3-preview 68 2/23/2024
2024.1.2-preview 83 2/7/2024
2024.1.1-preview 74 1/30/2024
2024.0.16-preview 58 6/15/2024
2024.0.15-preview 67 6/6/2024
2024.0.14-preview 64 5/30/2024
2024.0.13-preview 70 5/24/2024
2024.0.12-preview 80 4/17/2024
2024.0.11-preview 67 3/21/2024
2024.0.10-preview 60 3/19/2024
2024.0.9-preview 81 2/29/2024
2024.0.8-preview 78 2/23/2024
2024.0.7-preview 73 2/7/2024
2024.0.6-preview 114 1/3/2024
2024.0.5-preview 105 12/21/2023
2024.0.4-preview 99 12/12/2023
2024.0.3-preview 85 12/6/2023
2024.0.2-preview 106 11/14/2023
2024.0.1-preview 88 11/6/2023
2023.4.9-preview 76 2/7/2024
2023.4.8-preview 79 12/21/2023
2023.4.7-preview 74 12/12/2023
2023.4.6-preview 74 11/7/2023
2023.4.5-preview 93 10/26/2023
2023.4.4-preview 88 10/18/2023