Plugins_ObjectInfomation/UI/Information/Classes/UI_Information_Classes_Manager_ViewModel.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ObjectManager.Models;
using Plugins_ObjectInformation.Models;
namespace Plugins_ObjectInformation.UI.Information.Classes
{
public class UI_Information_Classes_Manager_ViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public void SetProp(string propName)
{
if(PropertyChanged !=null)
{
PropertyChanged(this, new PropertyChangedEventArgs(propName));
}
}
private List<ObjectManager.Models.TB_Object> objectList = new List<ObjectManager.Models.TB_Object>();
public List<TB_Object> ObjectList
{
get
{
return objectList;
}
set
{
objectList = value;
SetProp("ObjectList");
}
}
public List<ObjectInformationEntity> ObjectInformationList
{
get
{
return objectInformationList;
}
set
{
objectInformationList = value;
SetProp("ObjectInformationList");
}
}
private List<ObjectInformationEntity> objectInformationList = new List<ObjectInformationEntity>();
public UI_Information_Classes_Manager_ViewModel()
{
try
{
ObjectManager.Models.DBContext dbc = new DBContext();
后面还有 14 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
