Shuttle.Esb.ActiveTimeRange 20.0.0

Prefix Reserved
dotnet add package Shuttle.Esb.ActiveTimeRange --version 20.0.0                
NuGet\Install-Package Shuttle.Esb.ActiveTimeRange -Version 20.0.0                
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="Shuttle.Esb.ActiveTimeRange" Version="20.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shuttle.Esb.ActiveTimeRange --version 20.0.0                
#r "nuget: Shuttle.Esb.ActiveTimeRange, 20.0.0"                
#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 Shuttle.Esb.ActiveTimeRange as a Cake Addin
#addin nuget:?package=Shuttle.Esb.ActiveTimeRange&version=20.0.0

// Install Shuttle.Esb.ActiveTimeRange as a Cake Tool
#tool nuget:?package=Shuttle.Esb.ActiveTimeRange&version=20.0.0                

Active Time Range

PM> Install-Package Shuttle.Esb.ActiveTimeRange

The ActiveTimeRange module for Shuttle.Esb aborts pipeline processing when the current date is not within a given time range.

Configuration

services.AddActiveTimeRange(builder => 
{
	builder.Options.ActiveFromTime = "10:00";
	builder.Options.ActiveToTime = "14:00";
});

The default JSON settings structure is as follows:

{
  "Shuttle": {
      "Modules": {
        "ActiveTimeRange": {
          "ActiveFromTime": "8:00",
          "ActiveToTime":  "23:00" 
        }
      }
  }
}

The default value of "*" ignores the value. If both from and to are specified as "*" no pipeline will be aborted.

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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. 
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
20.0.0 73 2/2/2025
15.0.0 103 8/5/2024
14.0.1 101 5/3/2024
14.0.0 118 4/30/2024