public void AddImgType(VcodeImgType type, string code) { if (type == null || code == null) { return; } imgTypeDict[type] = code; }
protected virtual string GetImageTypeCode(VcodeImgType type) { if (imgTypeDict != null || !imgTypeDict.ContainsKey(type)) { return(null); } return(imgTypeDict[type]); }
public VcodeEventArgs(VcodeImgType type, byte[] bytes) { this.Bytes = bytes; this.ImgType = type; }