mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 08:46:34 +08:00
项目结构调整
This commit is contained in:
28
Others/Live-Charts-master/Examples/Wpf/Home/SampleVm.cs
Normal file
28
Others/Live-Charts-master/Examples/Wpf/Home/SampleVm.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
|
||||
namespace Wpf.Home
|
||||
{
|
||||
public class SampleVm
|
||||
{
|
||||
private static int _idCount;
|
||||
|
||||
public SampleVm()
|
||||
{
|
||||
Id = _idCount++;
|
||||
Tags = string.Empty;
|
||||
}
|
||||
|
||||
public SampleVm(string title, Type content, string tags = "")
|
||||
{
|
||||
Id = _idCount++;
|
||||
Title = title;
|
||||
Content = content;
|
||||
Tags = tags;
|
||||
}
|
||||
|
||||
public int Id { get; private set; }
|
||||
public string Title { get; set; }
|
||||
public Type Content { get; set; }
|
||||
public string Tags { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user