mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
TaskStringVisitor now explicitly implements the interface
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
//
|
||||
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using CefSharp.Internals;
|
||||
|
||||
@@ -27,7 +28,7 @@ namespace CefSharp
|
||||
/// Method that will be executed.
|
||||
/// </summary>
|
||||
/// <param name="str">string (result of async execution)</param>
|
||||
public void Visit(string str)
|
||||
void IStringVisitor.Visit(string str)
|
||||
{
|
||||
taskCompletionSource.TrySetResultAsync(str);
|
||||
}
|
||||
@@ -40,7 +41,7 @@ namespace CefSharp
|
||||
get { return taskCompletionSource.Task; }
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
void IDisposable.Dispose()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user