complete the branch

This commit is contained in:
NaBian committed 2019-01-29 20:12:17 +08:00
1 parent 2c0889f64b
commit cb20ea41f6
29 files changed
+426 -115

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ namespace HandyControlDemo.Data
{
internal class AppConfig
{
public static string SavePath = $"{AppDomain.CurrentDomain.BaseDirectory}AppConfig.json";
public static readonly string SavePath = $"{AppDomain.CurrentDomain.BaseDirectory}AppConfig.json";
public string Lang { get; set; } = "zh-cn";
+1 -2
View File
@@ -1,5 +1,4 @@
using System;
using System.IO;
using System.IO;
using Newtonsoft.Json;
namespace HandyControlDemo.Data
+1 -5
View File
@@ -146,11 +146,7 @@
public static readonly string ClearLeftSelected = nameof(ClearLeftSelected);
public static readonly string SendChatString = nameof(SendChatString);
public static readonly string SendChatImage = nameof(SendChatImage);
public static readonly string SendChatAudio = nameof(SendChatAudio);
public static readonly string SendChatMessage = nameof(SendChatMessage);
}
}
+1 -3
View File
@@ -85,9 +85,7 @@ var messageList = new List<string>
"FullSwitch",
"ContributorsView",
"ClearLeftSelected",
"SendChatString",
"SendChatImage",
"SendChatAudio"
"SendChatMessage"
};
#>
namespace HandyControlDemo.Data
+11 -3
View File
@@ -1,9 +1,17 @@
namespace HandyControlDemo.Data
using HandyControl.Data;
namespace HandyControlDemo.Data
{
public class ChatInfoModel
public struct ChatInfoModel
{
public string Message { get; set; }
public object Message { get; set; }
public string SenderId { get; set; }
public ChatRoleType Role { get; set; }
public ChatMessageType Type { get; set; }
public object Enclosure { get; set; }
}
}