Esempio n. 1
0
 public void AddImgType(VcodeImgType type, string code)
 {
     if (type == null || code == null)
     {
         return;
     }
     imgTypeDict[type] = code;
 }
Esempio n. 2
0
        protected virtual string GetImageTypeCode(VcodeImgType type)
        {
            if (imgTypeDict != null || !imgTypeDict.ContainsKey(type))
            {
                return(null);
            }

            return(imgTypeDict[type]);
        }
Esempio n. 3
0
 public VcodeEventArgs(VcodeImgType type, byte[] bytes)
 {
     this.Bytes   = bytes;
     this.ImgType = type;
 }