mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
15 lines
384 B
C#
15 lines
384 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using Microsoft.Agents.AI.Workflows;
|
|
|
|
namespace SingleAgent;
|
|
|
|
/// <summary>
|
|
/// Event emitted when an email is sent.
|
|
/// </summary>
|
|
public sealed class EmailSentEvent(string email, string subject) : WorkflowEvent($"Email sent to {email}")
|
|
{
|
|
public string Email { get; } = email;
|
|
public string Subject { get; } = subject;
|
|
}
|