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

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