MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / AddButtonTo

Function AddButtonTo

FastCopy/Notification.cpp:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace Notification
9{
10 static void AddButtonTo(
11 winrt::Microsoft::Windows::AppNotifications::Builder::AppNotificationBuilder& builder,
12 winrt::hstring const& text,
13 winrt::Microsoft::Windows::AppNotifications::Builder::AppNotificationButtonStyle style = winrt::Microsoft::Windows::AppNotifications::Builder::AppNotificationButtonStyle::Default)
14 {
15 winrt::Microsoft::Windows::AppNotifications::Builder::AppNotificationButton button{ text };
16 button.SetButtonStyle(style);
17 builder.AddButton(button);
18 }
19
20 static void AddButtonTo(
21 winrt::Microsoft::Windows::AppNotifications::Builder::AppNotificationBuilder& builder,

Callers 2

SendSuccessMethod · 0.85
SendFailedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected