public override bool Filter(IReadOnlyEntity entity, QueryParameter param)
        {
            var fileInfo = entity.GetComponent(FileInfo.TypeCode);

            if (fileInfo == null)
            {
                return(true);
            }

            if (param.Template == Parameters.FileName)
            {
                return(param.FilterOperatorString(fileInfo.FileName));
            }
            else if (param.Template == Parameters.HashMD5)
            {
                return(param.FilterOperatorString(fileInfo.HashMD5));
            }
            else if (param.Template == Parameters.HashSHA1OfMD5)
            {
                return(param.FilterOperatorString(fileInfo.HashSHA1OfMD5));
            }
            else
            {
                return(true);
            }
        }