pkar.winui3.Triggers 1.0.2

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

// Install pkar.winui3.Triggers as a Cake Tool
#tool nuget:?package=pkar.winui3.Triggers&version=1.0.2                

This Nuget contains wrappers for WinUI3 Triggers (same methods as in my pkar.Uwp.Triggers)

Function IsTriggersRegistered() As Boolean
Function IsTriggersRegistered(nameFragment As String) As Boolean
Async Function CanRegisterTriggersAsync() As Task(Of Boolean)

Sub UnregisterTriggers()
Sub UnregisterTriggers(nameFragment As String)

Function RegisterTimerTrigger(name As String, freshnessMinutes As Integer, Optional oneShot As Boolean = False, Optional condition As Background.SystemCondition = Nothing) As BackgroundTaskRegistration
Function RegisterUserPresentTrigger(Optional Name As String = "", Optional oneShot As Boolean = False) As BackgroundTaskRegistration
Function RegisterServicingCompletedTrigger(Optional Name As String = "") As BackgroundTaskRegistration
Function RegisterToastTrigger(Optional Name As String = ") As BackgroundTaskRegistration

Function RegisterMidnightTrigger() As BackgroundTaskRegistration
Function IsThisMidnightTrigger(args As BackgroundActivatedEventArgs) As Boolean

Function DumpTriggers() As String
Function GetLastMidnightTriggerDate() As Date
Product Compatible and additional computed target framework versions.
.NET net6.0-windows10.0.19041 is compatible.  net7.0-windows was computed.  net8.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
1.0.2 149 1/21/2024
1.0.1 107 1/21/2024
1.0.0 115 1/21/2024 1.0.0 is deprecated.

initial release