📄 liveexporesult.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace LiveExpoService
{
/// <summary>
/// LiveExpoResult
///
/// This class is simply used to store properties for one particular Live Expo item in a particular category.
/// </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.
///
/// Not all properties are stored in this version of LiveExpoService assembly, only a few to find out more details about
/// a particular item. All these properties are typically available for each item, with the exception of pictures.
/// More information can be retrieved in a Browser control by using the expoLink.
/// </remarks>
public class LiveExpoResult
{
private string title;
private string description;
private Uri expoLink;
private Uri pictureLink;
private string address;
private string city;
private string state;
private string country;
private string zipCode;
private float latitude;
private float longitude;
public LiveExpoResult(string title)
{
this.title = title;
}
public string Title
{
get { return title; }
set { title = value; }
}
public string Description
{
get { return description; }
set { description = value; }
}
public Uri ExpoLink
{
get { return expoLink; }
set { expoLink = value; }
}
public Uri PictureLink
{
get { return pictureLink; }
set { pictureLink = value; }
}
public string Address
{
get { return address; }
set { address = value; }
}
public string City
{
get { return city; }
set { city = value; }
}
public string State
{
get { return state; }
set { state = value; }
}
public string Country
{
get { return country; }
set { country = value; }
}
public string ZipCode
{
get { return zipCode; }
set { zipCode = value; }
}
public float Latitude
{
get { return latitude; }
set { latitude = value; }
}
public float Longitude
{
get { return longitude; }
set { longitude = value; }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -