Quinctia/Reference.cs

(开头部分) 26KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Quinctia
{
    #region 引用基类

    /// <summary>
    /// 著录引用
    /// </summary>
    public class Reference
    {
        /// <summary>
        /// 类型
        /// </summary>
        public string strRefType;
        /// <summary>
        /// 唯一标识
        /// </summary>
        public string strId;

        /// <summary>
        /// 重写ToString方法
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            return base.ToString();
        }

        /// <summary>
        /// 规范化人员名单,按逗号分隔,取前三个人,后面的用“等”字代替
        /// </summary>
        /// <param name="strPeopleList">人员名单</param>
        /// <returns></returns>
        protected string NormalizePeopleList(string strPeopleList)
        {
            string strTempPeopleList = strPeopleList.Replace(",", ",");
            string[] strList = strTempPeopleList.Split(',');

            string strResultList = "";
            if (strList.Length >= 1)
            {
                strResultList += strList[0];
            }
            if (strList.Length >= 2)
            {
                strResultList += ",";
                strResultList += strList[1];
            }
            if (strList.Length >= 3)
            {
                strResultList += ",";
                strResultList += strList[2];
            }
            if (strList.Length >= 4)
            {
后面还有 788 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。