コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Md5.Length != 0)
            {
                hash ^= Md5.GetHashCode();
            }
            if (IsFastUpload != false)
            {
                hash ^= IsFastUpload.GetHashCode();
            }
            if (ClientFileName.Length != 0)
            {
                hash ^= ClientFileName.GetHashCode();
            }
            if (RecognizeId != 0)
            {
                hash ^= RecognizeId.GetHashCode();
            }
            if (UserName.Length != 0)
            {
                hash ^= UserName.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
 /// <summary>
 /// 파일 확장자명
 /// </summary>
 /// <returns>확장자</returns>
 public string GetExtension()
 {
     return(ClientFileName.ExtractFileExt());
 }
コード例 #3
0
 /// <summary>
 /// 파일명
 /// </summary>
 /// <returns>파일명</returns>
 public string GetName()
 {
     return(ClientFileName.ExtractFileName());
 }