// From: https://github.com/codebude/QRCoder namespace QRCoder { public abstract class AbstractQRCode { protected QRCodeData QrCodeData { get; set; } protected AbstractQRCode(QRCodeData data) { this.QrCodeData = data; } public abstract T GetGraphic(int pixelsPerModule); } }