Files
Libation/Source/LibationFileManager/NullInteropFunctions.cs

23 lines
1009 B
C#

using NuGet.Versioning;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace LibationFileManager;
public class NullInteropFunctions : IInteropFunctions
{
public NullInteropFunctions() { }
public NullInteropFunctions(params object[] values) { }
public void SetFolderIcon(string image, string directory) => throw new PlatformNotSupportedException();
public void SetFolderIcon(byte[] imageJpegBytes, string directory) => throw new PlatformNotSupportedException();
public void DeleteFolderIcon(string directory) => throw new PlatformNotSupportedException();
public bool CanUpgrade => throw new PlatformNotSupportedException();
public string ReleaseIdString => throw new PlatformNotSupportedException();
public Process RunAsRoot(string exe, string args) => throw new PlatformNotSupportedException();
public Task InstallUpgradeAsync(string updateBundle, NuGetVersion targetVersion) => throw new PlatformNotSupportedException();
public void TrySyncInstallMetadata() { }
}