File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33global using Xunit ;
44global using Microsoft . Extensions . DependencyInjection ;
55global using Notion2Ical ;
6- global using Notion2Ical . Interfaces ;
6+ global using Notion2Ical . Concretes ;
77global using Notion2Ical . NotionApi ;
88global using Notion2Ical . ICalendar ;
Original file line number Diff line number Diff line change 1- namespace Notion2Ical ;
1+ namespace Notion2Ical . Concretes ;
22
3- public class NotionRepository : INotionRepository
3+ internal class NotionRepository : INotionRepository
44{
55 private readonly HttpClient _httpClient ;
66 private readonly NotionCalendarOptions _options ;
Original file line number Diff line number Diff line change 1- namespace Notion2Ical ;
1+ namespace Notion2Ical . Concretes ;
22
3- public class NotionService : INotionService
3+ internal class NotionService : INotionService
44{
55 private readonly INotionRepository _notionRepository ;
66 private readonly NotionCalendarOptions _options ;
Original file line number Diff line number Diff line change 44global using System . Text . Json ;
55global using System . Text . Json . Serialization ;
66global using Microsoft . Extensions . DependencyInjection ;
7- global using Notion2Ical . Interfaces ;
7+ global using Notion2Ical . Concretes ;
88global using Notion2Ical . NotionApi ;
99global using Notion2Ical . ICalendar ;
Original file line number Diff line number Diff line change 11namespace Notion2Ical . ICalendar ;
22
3- public class VCalendar
3+ internal class VCalendar
44{
55 private readonly List < VEvent > _events = [ ] ;
66 private readonly string _name ;
Original file line number Diff line number Diff line change 11namespace Notion2Ical . ICalendar ;
22
3- public class VEvent
3+ internal class VEvent
44{
55 private const string DateTimeFormat = "yyyyMMddTHHmmssZ" ;
66
Original file line number Diff line number Diff line change 1- namespace Notion2Ical . Interfaces ;
1+ namespace Notion2Ical ;
22
3- public interface INotionRepository
3+ internal interface INotionRepository
44{
55 Task < IReadOnlyList < Result > > GetTodoTasks ( CancellationToken cancellationToken = default ) ;
66}
Original file line number Diff line number Diff line change 1- namespace Notion2Ical . Interfaces ;
1+ namespace Notion2Ical ;
22
33public interface INotionService
44{
Original file line number Diff line number Diff line change 1515 <PackageReference Include =" Microsoft.Extensions.Http" Version =" 10.0.9" />
1616 </ItemGroup >
1717
18+ <ItemGroup >
19+ <InternalsVisibleTo Include =" Notion2Ical.Tests" />
20+ </ItemGroup >
21+
1822 <ItemGroup >
1923 <None Include =" ..\README.md" Pack =" true" PackagePath =" \" />
2024 </ItemGroup >
Original file line number Diff line number Diff line change 11namespace Notion2Ical . NotionApi ;
22
3- public class Name
3+ internal class Name
44{
55 [ JsonPropertyName ( "title" ) ]
66 public List < ItemTitle > ? Title { get ; set ; }
You can’t perform that action at this time.
0 commit comments