PowerToys/Plugins/Wox.Plugin.Folder/FolderLink.cs

19 lines
412 B
C#
Raw Normal View History

using System;
using System.Linq;
using Newtonsoft.Json;
namespace Wox.Plugin.Folder
{
[JsonObject(MemberSerialization.OptIn)]
public class FolderLink
{
[JsonProperty]
public string Path { get; set; }
public string Nickname
{
2016-01-07 05:34:42 +08:00
get { return Path.Split(new[] { System.IO.Path.DirectorySeparatorChar }, StringSplitOptions.None).Last(); }
}
}
}