Skip to content

Instantly share code, notes, and snippets.

@mattumotu
Created December 3, 2018 14:09
Show Gist options
  • Save mattumotu/44eb4b3f8d2cd1a88883b996dde71265 to your computer and use it in GitHub Desktop.
Save mattumotu/44eb4b3f8d2cd1a88883b996dde71265 to your computer and use it in GitHub Desktop.
public interface IFetchThings<T> {
T Fetch();
}
public interface ISecureFetchThings<T> : IFetchThings<T> {
T Fetch();
bool isLoggedOn();
void logOn();
}
public class ClientFetcher : ISecureFetchThings<Client> {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment