问题描述
我正在开发using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
public class Program
{
public static void Main()
{
var tm = new TicketUpdateModel() {
CRHandle = "blah",UpdateParam = new List<keyvaluePair<string,string>>() {
new keyvaluePair<string,string>("Hello1","WOrld1"),new keyvaluePair<string,string>("Hello2","WOrld2"),}
};
var json = JsonConvert.SerializeObject(tm);
// prints {"CRHandle":"blah","UpdateParam":[{"Key":"Hello1","Value":"WOrld1"},{"Key":"Hello2","Value":"WOrld2"}]}
Console.WriteLine(json);
var tmd = JsonConvert.DeserializeObject<TicketUpdateModel>(json);
Console.WriteLine(tmd.CRHandle);
Console.WriteLine(tmd.UpdateParam[0].Key);
Console.WriteLine(tmd.UpdateParam[1].Value);
return;
}
}
public class TicketUpdateModel
{
public string CRHandle { get; set; }
public List<keyvaluePair<string,string>> UpdateParam { get; set; }
}
。
安装后,我在管理员页面检查了模块列表。
所以,有我的模块项目。
我从在线模块安装了 Humhub module
默认模块。
日历模块项目有 calendar
按钮。
如何在我的模块上显示它?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)