Skip to content

Commit

Permalink
Remove Async suffix (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfversluis authored Sep 18, 2023
1 parent eaee44a commit 575f422
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Plugin.Maui.CalendarStore/CalendarStore.shared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ internal static void SetDefault(ICalendarStore? implementation) =>
internal static readonly TimeSpan defaultEndTimeFromStartTime = TimeSpan.FromDays(14);

/// <inheritdoc cref="ICalendarStore.GetCalendars"/>
public static async Task<IEnumerable<Calendar>> GetCalendarsAsync() =>
public static async Task<IEnumerable<Calendar>> GetCalendars() =>
await Default.GetCalendars();

/// <inheritdoc cref="ICalendarStore.GetCalendar(string)"/>
public static async Task<Calendar> GetCalendarAsync(string calendarId) =>
public static async Task<Calendar> GetCalendar(string calendarId) =>
await Default.GetCalendar(calendarId);

/// <inheritdoc cref="ICalendarStore.CreateCalendar(string, Color?)"/>
Expand All @@ -38,12 +38,12 @@ public static async Task DeleteCalendar(string calendarId) =>
await Default.DeleteCalendar(calendarId);

/// <inheritdoc cref="ICalendarStore.GetEvents(string?, DateTimeOffset?, DateTimeOffset?)"/>
public static async Task<IEnumerable<CalendarEvent>> GetEventsAsync(string? calendarId = null,
public static async Task<IEnumerable<CalendarEvent>> GetEvents(string? calendarId = null,
DateTimeOffset? startDate = null, DateTimeOffset? endDate = null) =>
await Default.GetEvents(calendarId, startDate, endDate);

/// <inheritdoc cref="ICalendarStore.GetEvent(string)"/>
public static async Task<CalendarEvent> GetEventAsync(string eventId) =>
public static async Task<CalendarEvent> GetEvent(string eventId) =>
await Default.GetEvent(eventId);

/// <inheritdoc cref="ICalendarStore.CreateEvent(string, string, string, string, DateTimeOffset, DateTimeOffset, bool)"/>
Expand Down

0 comments on commit 575f422

Please sign in to comment.