mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 12:09:18 +08:00
c589978e84
cc @aaroncampf
18 lines
423 B
C#
18 lines
423 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Wox.Infrastructure.Storage.UserSettings {
|
|
public class FolderLink {
|
|
[JsonProperty]
|
|
public string Path { get; set; }
|
|
|
|
public string Nickname
|
|
{
|
|
get { return Path.Split(new char[] { System.IO.Path.DirectorySeparatorChar }, StringSplitOptions.None).Last(); }
|
|
}
|
|
}
|
|
}
|