Metalama.Patterns.Observability 2024.2.10-preview

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. 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 2024.2.10-preview
NuGet\Install-Package Metalama.Patterns.Observability -Version 2024.2.10-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="2024.2.10-preview" />
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.10-preview
#r "nuget: Metalama.Patterns.Observability, 2024.2.10-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=2024.2.10-preview&prerelease

// Install Metalama.Patterns.Observability as a Cake Tool
#tool nuget:?package=Metalama.Patterns.Observability&version=2024.2.10-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

  • Conceptual documentation: TODO.
  • API documentation: TODO.
  • 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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.2.12-preview 24 6/28/2024
2024.2.11-preview 31 6/26/2024
2024.2.10-preview 42 6/20/2024
2024.2.9-preview 37 6/11/2024
2024.2.8-preview 29 6/6/2024
2024.2.7-preview 54 5/30/2024
2024.2.6-preview 52 5/25/2024
2024.2.5-preview 56 5/6/2024
2024.2.4-preview 48 5/4/2024
2024.2.3-preview 50 4/30/2024
2024.2.2-preview 47 4/23/2024
2024.2.1-preview 51 4/11/2024
2024.1.23-preview 29 6/26/2024
2024.1.22-preview 42 6/15/2024
2024.1.21-preview 38 6/6/2024
2024.1.20-preview 41 5/30/2024
2024.1.19-preview 46 5/24/2024
2024.1.18-preview 51 5/6/2024
2024.1.17-preview 12 5/3/2024
2024.1.16-preview 45 4/30/2024
2024.1.15-preview 37 4/29/2024
2024.1.14-preview 42 4/23/2024
2024.1.13-preview 47 4/23/2024
2024.1.12-preview 52 4/17/2024
2024.1.11-preview 45 4/11/2024
2024.1.10-preview 47 4/4/2024
2024.1.9-preview 56 3/27/2024
2024.1.8-preview 46 3/25/2024
2024.1.7-preview 60 3/19/2024
2024.1.6-preview 60 3/6/2024
2024.1.5-preview 51 2/29/2024
2024.1.4-preview 66 2/27/2024
2024.1.3-preview 52 2/23/2024
2024.1.2-preview 62 2/7/2024
2024.1.1-preview 56 1/30/2024
2024.0.16-preview 37 6/15/2024
2024.0.15-preview 45 6/6/2024
2024.0.14-preview 40 5/30/2024
2024.0.13-preview 50 5/24/2024
2024.0.12-preview 62 4/17/2024
2024.0.11-preview 51 3/21/2024
2024.0.10-preview 43 3/19/2024
2024.0.9-preview 64 2/29/2024
2024.0.8-preview 61 2/23/2024
2024.0.7-preview 52 2/7/2024
2024.0.6-preview 91 1/3/2024
2024.0.5-preview 80 12/21/2023
2024.0.4-preview 80 12/12/2023
2024.0.3-preview 66 12/6/2023
2024.0.2-preview 82 11/14/2023
2024.0.1-preview 66 11/6/2023
2023.4.9-preview 56 2/7/2024
2023.4.8-preview 59 12/21/2023
2023.4.7-preview 55 12/12/2023
2023.4.6-preview 53 11/7/2023
2023.4.5-preview 70 10/26/2023
2023.4.4-preview 66 10/18/2023