Skip to content

Commit

Permalink
Improvements:
Browse files Browse the repository at this point in the history
- Remove unused dependencies
- Enable .NET analyzers and address issues
- Update setup project
  • Loading branch information
David-Engel committed Aug 13, 2023
1 parent 9f05e05 commit 18c3cc3
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 421 deletions.
2 changes: 1 addition & 1 deletion src/OutlookCalendarSync/AppointmentItemCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace OutlookCalendarSync
{
class AppointmentItemCache
{
private Dictionary<AppointmentItem, AppointmentItemCacheEntry> _cache = new Dictionary<AppointmentItem, AppointmentItemCacheEntry>();
private readonly Dictionary<AppointmentItem, AppointmentItemCacheEntry> _cache = new Dictionary<AppointmentItem, AppointmentItemCacheEntry>();

public AppointmentItemCache()
{
Expand Down
8 changes: 4 additions & 4 deletions src/OutlookCalendarSync/AppointmentItemCacheEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ namespace OutlookCalendarSync
{
public class AppointmentItemCacheEntry
{
private AppointmentItem _appointmentItem;
private bool _isSyncItem = false;
private string _fromAccount;
private string _signature;
private readonly AppointmentItem _appointmentItem;
private readonly bool _isSyncItem = false;
private readonly string _fromAccount;
private readonly string _signature;

public AppointmentItemCacheEntry(AppointmentItem appointmentItem, string fromAccount)
{
Expand Down
30 changes: 15 additions & 15 deletions src/OutlookCalendarSync/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 18c3cc3

Please sign in to comment.