Files
VDownload/VDownload.Services/VDownload.Services.UI/VDownload.Services.UI.WebView/WebViewService.cs
Mateusz Skoczek e3ec5c3a48 twitch vod downloading done
ffmpeg essentials

fix

Project reorganized

git lfs

ffmpeg removed

ffmpeg added
2024-02-22 02:25:13 +01:00

29 lines
640 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Services.UI.WebView
{
public interface IWebViewService
{
Task<string> Show(Uri url, Predicate<string> closePredicate, string name);
}
public class WebViewService : IWebViewService
{
#region METHODS
public async Task<string> Show(Uri url, Predicate<string> closePredicate, string name)
{
WebViewWindow window = new WebViewWindow(name);
return await window.Show(url, closePredicate);
}
#endregion
}
}