TaskStringVisitor now explicitly implements the interface

This commit is contained in:
amaitland
2016-05-31 18:27:34 +10:00
parent c6d7945813
commit ec8952073a
+3 -2
View File
@@ -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()
{
}