Skip to content

Conversation

@Thorarin
Copy link

A few commits of relatively straight-forward code cleanup before finally deciding to use a very basic implementation of a repository pattern to allow for more code reuse for accessing the different data files.

- Changed class to internal static.
- Introduced using statements.
- Changed File.Exists ? File.OpenRead : ... to single File.Open call.
Refactored the Controller class so it no longer contains public fields.
Also switched to using properties rather than methods here and there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant