maui-linux/Xamarin.Forms.Core/Internals/EvalRequested.cs

20 строки
424 B
C#

using System;
using System.ComponentModel;
using System.Threading.Tasks;
namespace Xamarin.Forms.Internals
{
[EditorBrowsable(EditorBrowsableState.Never)]
public delegate Task<string> EvaluateJavaScriptDelegate(string script);
[EditorBrowsable(EditorBrowsableState.Never)]
public class EvalRequested : EventArgs
{
public string Script { get; }
public EvalRequested(string script)
{
Script = script;
}
}
}