25 lines
565 B
C#
25 lines
565 B
C#
|
|
// Licensed to the .NET Foundation under one or more agreements.
|
||
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
||
|
|
|
||
|
|
namespace Microsoft.Maui.Platform.Linux.Services;
|
||
|
|
|
||
|
|
public class NotificationAction
|
||
|
|
{
|
||
|
|
public string Key { get; set; } = "";
|
||
|
|
|
||
|
|
public string Label { get; set; } = "";
|
||
|
|
|
||
|
|
public Action? Callback { get; set; }
|
||
|
|
|
||
|
|
public NotificationAction()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
public NotificationAction(string key, string label, Action? callback = null)
|
||
|
|
{
|
||
|
|
Key = key;
|
||
|
|
Label = label;
|
||
|
|
Callback = callback;
|
||
|
|
}
|
||
|
|
}
|