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
public interface IReport | |
{ | |
string Generate(); | |
} | |
public class ReportA : IReport | |
{ | |
public string Generate() | |
{ | |
return "Report A"; |
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
public interface IDocumentPart | |
{ | |
string Content { get; } | |
} | |
public interface IDocumentBody : IDocumentPart | |
{ | |
} | |
public interface IDocumentHeader : IDocumentPart |