Files
better-genshin-impact/Build/MicaSetup/Natives/Shell/Dialogs/Common/ShellLink.cs

24 lines
528 B
C#

namespace MicaSetup.Shell.Dialogs;
#pragma warning disable CS8618
public class ShellLink : ShellObject
{
private string _internalPath;
internal ShellLink(IShellItem2 shellItem) => nativeShellItem = shellItem;
public virtual string Path
{
get
{
if (_internalPath == null && NativeShellItem != null)
{
_internalPath = base.ParsingName;
}
return _internalPath!;
}
protected set => _internalPath = value;
}
}