public interface IBlogItem | |
{ | |
void Expand(); | |
} | |
public class Article : IBlogItem | |
{ | |
public void Expand() | |
{ | |
// Article expand implementation. | |
} | |
} | |
public class Series : IBlogItem | |
{ | |
public void Expand() | |
{ | |
// Series expand implementation. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment