Esempio n. 1
0
 /// <summary>
 /// 创建二维码
 /// </summary>
 /// <param name="param">二维码参数</param>
 /// <returns></returns>
 protected abstract byte[] Create(QRCodeParam param);
Esempio n. 2
0
 /// <summary>
 /// 设置二维码参数
 /// </summary>
 /// <param name="param">二维码参数</param>
 /// <returns></returns>
 public IQRCodeService Param(QRCodeParam param)
 {
     _param = param;
     Init(_param);
     return(this);
 }
Esempio n. 3
0
 /// <summary>
 /// 初始化
 /// </summary>
 protected virtual void Init(QRCodeParam param)
 {
     HandlerCorrectionLevel(param.Level);
 }