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