From ec8952073a6e259da660367ee81acf8bc27f2fd2 Mon Sep 17 00:00:00 2001 From: amaitland Date: Tue, 31 May 2016 18:27:34 +1000 Subject: [PATCH] TaskStringVisitor now explicitly implements the interface --- CefSharp/TaskStringVisitor.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CefSharp/TaskStringVisitor.cs b/CefSharp/TaskStringVisitor.cs index 3957c27c7..a389309ad 100644 --- a/CefSharp/TaskStringVisitor.cs +++ b/CefSharp/TaskStringVisitor.cs @@ -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. /// /// string (result of async execution) - 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() { }