ClassLibraryWeiBao/QR二维码/QrCode.cs

(完整代码) 834B

using Gma.QrCodeNet.Encoding.Common;

namespace Gma.QrCodeNet.Encoding
{
	/// <summary>
	/// This class contain two variables. 
	/// BitMatrix for QrCode
	/// isContainMatrix for indicate whether QrCode contains BitMatrix or not.
	/// BitMatrix will equal to null if isContainMatrix is false. 
	/// </summary>
    public class QrCode
    {
        internal QrCode(BitMatrix matrix)
        {
        	this.Matrix = matrix;
        	this.isContainMatrix = true;
        }
        
        public QrCode()
        {
        	this.isContainMatrix = false;
        	this.Matrix = null;
        }
        
        public bool isContainMatrix
        {
        	get;
        	private set;
        }

        public BitMatrix Matrix
        {
            get;
            private set;
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。