Files
meeting-assistant/MeetingAssistant/MeetingNotes/IMeetingMetadataProvider.cs
T
2026-05-20 02:06:16 +02:00

25 lines
659 B
C#

namespace MeetingAssistant.MeetingNotes;
public interface IMeetingMetadataProvider
{
Task<MeetingMetadata?> GetCurrentMeetingAsync(
DateTimeOffset startedAt,
CancellationToken cancellationToken);
}
public sealed record MeetingMetadata(
string Title,
IReadOnlyList<string> Attendees,
string Agenda,
DateTimeOffset? ScheduledEnd = null);
public sealed class NoopMeetingMetadataProvider : IMeetingMetadataProvider
{
public Task<MeetingMetadata?> GetCurrentMeetingAsync(
DateTimeOffset startedAt,
CancellationToken cancellationToken)
{
return Task.FromResult<MeetingMetadata?>(null);
}
}