ScheduleTaskHelper.Notify 1.0.7

dotnet add package ScheduleTaskHelper.Notify --version 1.0.7
                    
NuGet\Install-Package ScheduleTaskHelper.Notify -Version 1.0.7
                    
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="ScheduleTaskHelper.Notify" Version="1.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ScheduleTaskHelper.Notify" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="ScheduleTaskHelper.Notify" />
                    
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 ScheduleTaskHelper.Notify --version 1.0.7
                    
#r "nuget: ScheduleTaskHelper.Notify, 1.0.7"
                    
#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 ScheduleTaskHelper.Notify@1.0.7
                    
#: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=ScheduleTaskHelper.Notify&version=1.0.7
                    
Install as a Cake Addin
#tool nuget:?package=ScheduleTaskHelper.Notify&version=1.0.7
                    
Install as a Cake Tool

ScheduleTaskHelper.Notify

ScheduleTaskHelper.Notify is a notification framework designed for .NET applications. It provides multiple notification mechanisms, including logging, console output, and email notifications. This framework is designed to be extensible, allowing developers to implement custom notification methods as needed.

Features

  • Extensibility: Easily extendable to support additional notification mechanisms.

Key Components

Interfaces

  • INotify: Defines the basic contract for notification mechanisms with a Notify method.
  • NotifyExtensions: Provides an extension method NotifyAll to send notifications through multiple INotify implementations.

Getting Started

Prerequisites

  • .NET 8.0 SDK

Installation

  1. Clone the repository.
  2. Navigate to the ScheduleTaskHelper.Notify project directory.
  3. Build the project using the .NET CLI:
    dotnet build
    

Usage

Log Notifications

Use LogNotify to send notifications to the logging system:

var logger = serviceProvider.GetRequiredService<ILogger<LogNotify>>();
var logNotify = new LogNotify(logger);
logNotify.Notify("This is a log notification.");
Notify All

Use the NotifyAll extension method to send notifications through multiple mechanisms:

var notifies = new List<INotify> { logNotify, consoleNotify, mailNotify };
notifies.NotifyAll("This is a notification to all mechanisms.");

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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 is compatible.  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. 
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 ScheduleTaskHelper.Notify:

Package Downloads
ScheduleTaskHelper.Core

ScheduleTaskHelper 是一個功能強大的任務排程與執行框架,專為 .NET 應用程式設計。它支援多種任務排程模式(包括定時與 Cron 表達式),並整合了分散式鎖機制、任務重試佇列與事件驅動架構,確保任務執行的可靠性與高效性。此外,該框架支援插件式架構,允許動態載入外部插件,適合用於分散式系統或需要高效任務管理的應用場景。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.7 108 8/20/2025
1.0.6 107 8/20/2025
1.0.5 110 8/20/2025
1.0.4 105 8/20/2025
1.0.3 113 8/20/2025
1.0.2 114 8/20/2025
1.0.1 112 8/20/2025
1.0.0 113 8/20/2025