2014-03-31 07:03:07 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
2014-04-13 15:38:12 +08:00
|
|
|
|
using Newtonsoft.Json;
|
2014-03-31 07:03:07 +08:00
|
|
|
|
|
2014-12-15 22:58:49 +08:00
|
|
|
|
namespace Wox.Infrastructure.Storage.UserSettings
|
|
|
|
|
{
|
|
|
|
|
public class FolderLink
|
|
|
|
|
{
|
2014-04-13 15:38:12 +08:00
|
|
|
|
[JsonProperty]
|
2014-12-15 22:58:49 +08:00
|
|
|
|
public string Path { get; set; }
|
2014-04-13 15:38:12 +08:00
|
|
|
|
|
2014-12-15 22:58:49 +08:00
|
|
|
|
public string Nickname
|
|
|
|
|
{
|
|
|
|
|
get { return Path.Split(new char[] { System.IO.Path.DirectorySeparatorChar }, StringSplitOptions.None).Last(); }
|
|
|
|
|
}
|
2014-04-13 15:38:12 +08:00
|
|
|
|
}
|
2014-03-31 07:03:07 +08:00
|
|
|
|
}
|