Aspects.Notify 1.0.0

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspects.Notify -Version 1.0.0
dotnet add package Aspects.Notify --version 1.0.0
<PackageReference Include="Aspects.Notify" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspects.Notify --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspects.Notify, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspects.Notify as a Cake Addin
#addin nuget:?package=Aspects.Notify&version=1.0.0

// Install Aspects.Notify as a Cake Tool
#tool nuget:?package=Aspects.Notify&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package provides simple INotifyPropertyChanged aspect. Put [Notify] attribure on your properties or a whole class. You can use [NotifyAlso] attributes to notify other dependant properties.

class TestClass
{
    [Notify]
    [NotifyAlso(nameof(FullName))]
    public string FirstName { get; set; }

    [Notify]
    [NotifyAlso(nameof(FullName))]
    public string LastName { get; set; }

    public string FullName => $"{FirstName} {LastName}";
}

public void Code()
{
    var target = new TestClass();
    target.LastName = "Yu"; // <-- will raise ```PropertyChanged``` for ```LastName``` and ```FullName```     
}

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
1.0.1 1,650 1/19/2020
1.0.0 259 1/19/2020