mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
* Made Plugin Folder Unit tests. Fixes '>' not recursive searching (with max). Added that paths with an UnauthorizedAccessException are ignored. Added expanding enviroment search. * Fixed some merging errors * Added feedback from review * Made the change that ryanbodrug-microsoft suggested * Stupid merge request... fixed Co-authored-by: p-storm <paul.de.man@gmail.com>
25 lines
650 B
C#
25 lines
650 B
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System.Collections.Generic;
|
|
using Wox.Infrastructure.Storage;
|
|
|
|
namespace Microsoft.Plugin.Folder.Sources
|
|
{
|
|
internal class FolderLinksSettings : IFolderLinks
|
|
{
|
|
private readonly FolderSettings _settings;
|
|
|
|
public FolderLinksSettings(FolderSettings settings)
|
|
{
|
|
_settings = settings;
|
|
}
|
|
|
|
public IEnumerable<FolderLink> FolderLinks()
|
|
{
|
|
return _settings.FolderLinks;
|
|
}
|
|
}
|
|
}
|