Public Access
25 lines
659 B
C#
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);
|
|
}
|
|
}
|