You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
454 B
20 lines
454 B
using Newtonsoft.Json;
|
|
using QYMessageCenter.Client.Models;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace QYMessageCenter.Client
|
|
{
|
|
[ClassInterface(ClassInterfaceType.AutoDual)]
|
|
[ComVisible(true)]
|
|
public class GlobalContext
|
|
{
|
|
public User User { get; set; }
|
|
|
|
public string UserToken { get; set; }
|
|
|
|
public string GetUserString()
|
|
{
|
|
return JsonConvert.SerializeObject(User);
|
|
}
|
|
}
|
|
}
|
|
|