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 interface we are going to focus on. | |
// It is an interface for something that would be able | |
// to read and write data to something that is ready | |
// to be used this way. | |
public interface IReaderWriter<TData> where TData : Data | |
{ | |
void Initialize(); | |
TData Read(int dataId); | |
void Write(TData data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment