Public Access
Implement meeting assistant v1
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user