📄 liveexpocategory.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace LiveExpoService
{
/// <summary>
/// LiveExpoCategory
///
/// This class is simply used to store properties for one particular Live Expo category.
/// These categories will be used to search for particular items that are published on the Live Expo site.
/// </summary>
/// <remarks>
/// For each category there are also specific attributes available in Live Expo to determine the meaning and
/// datatypes for each individual item to lookup. These are not used in this version of the LiveExpoService assembly.
/// </remarks>
public class LiveExpoCategory
{
private int id;
private string name;
public LiveExpoCategory(int id, string name)
{
this.id = id;
this.name = name;
}
public int ID
{
get
{
return id;
}
set
{
id = value;
}
}
public string Name
{
get
{
return name;
}
set
{
name = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -