Discuz.Web.Services/Manyou/Friend.cs

(开头部分) 1KB

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

using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;

namespace Discuz.Web.Services.Manyou
{
    public class Friend
    {
        private int uid;
        private string userName;

        [JsonPropertyAttribute("uId")]
        public int Uid
        {
            get { return uid; }
            set { uid = value; }
        }

        [JsonPropertyAttribute("handle")]
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        public Friend(int uid, string userName)
        {
            this.uid = uid;
            this.userName = userName;
        }
    }

    public class FriendsAction
    {
        private int uid1;
        private int uid2;
        private string action;

        [JsonPropertyAttribute("uId1")]
        public int Uid1
        {
            get { return uid1; }
            set { uid1 = value; }
        }

        [JsonPropertyAttribute("uId2")]
        public int Uid2
        {
            get { return uid2; }
            set { uid2 = value; }
        }

        [JsonPropertyAttribute("action")]
        public string Action
        {
            get { return action; }
            set { action = value; }
        }
    }
后面还有 1 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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