DotNet 4.8.1 build of DotNetBar

This commit is contained in:
2025-02-07 10:35:23 -05:00
parent 33439b63a0
commit 6b0a5d60f4
2609 changed files with 989814 additions and 7 deletions

View File

@@ -0,0 +1,58 @@
#if FRAMEWORK20
using System;
using System.Collections.Generic;
using System.Text;
namespace DevComponents.Schedule.Model
{
internal class NotificationRequest
{
#region Internal Implementation
/// <summary>
/// Initializes a new instance of the NotificationRequest class.
/// </summary>
/// <param name="notificationTime"></param>
/// <param name="notificationHandler"></param>
public NotificationRequest(DateTime notificationTime, NotificationServerEventHandler notificationHandler)
{
_NotificationTime = notificationTime;
_NotificationHandler = notificationHandler;
_ThreadId = System.Threading.Thread.CurrentThread.ManagedThreadId;
}
private int _ThreadId;
public int ThreadId
{
get { return _ThreadId; }
}
private DateTime _NotificationTime = DateTime.MinValue;
/// <summary>
/// Gets or sets requested notification time.
/// </summary>
public DateTime NotificationTime
{
get { return _NotificationTime; }
set
{
_NotificationTime = value;
}
}
private NotificationServerEventHandler _NotificationHandler = null;
/// <summary>
/// Gets the callback handler for notification when notification time is reached.
/// </summary>
public NotificationServerEventHandler NotificationHandler
{
get { return _NotificationHandler; }
}
#endregion
}
}
#endif