This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is the class implementing our IReaderWriter<TData> | |
// but now we know that it is going to save and retrieve | |
// data to and from a file. We would not care about the | |
// implementation so don't give it too much thought. | |
public class FileReaderWriter<TData> : IReaderWriter<TData> where TData : Data | |
{ | |
public void Initialize() { throw new NotImplementedException(); } | |
public TData Read(int dataId) { throw new NotImplementedException(); } | |
public void Write(TData data) { throw new NotImplementedException(); } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment