mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
#210 Apparently, I had only renamed the project; the assembly name and the namespace was still wrong.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using CefSharp.Example;
|
||||
using CefSharp.WinForm;
|
||||
using CefSharp.WinForms;
|
||||
|
||||
namespace CefSharp.WinForms.Example
|
||||
{
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<ProjectGuid>{882505AD-246D-402A-8414-347EFB8E2C8D}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CefSharp.WinForm</RootNamespace>
|
||||
<AssemblyName>CefSharp.WinForm</AssemblyName>
|
||||
<RootNamespace>CefSharp.WinForms</RootNamespace>
|
||||
<AssemblyName>CefSharp.WinForms</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CefSharp.WinForm
|
||||
namespace CefSharp.WinForms
|
||||
{
|
||||
// TODO: Should not implement IRenderWebBrowser straight away, since it means we have to add a bunch of boilerplate properties
|
||||
// TODO: which aren't even used. The proper way would be to add another interface, which is only used for WinForms (which the
|
||||
@@ -74,17 +74,22 @@ namespace CefSharp.WinForm
|
||||
|
||||
public void ExecuteScriptAsync(string script)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public object EvaluateScript(string script, TimeSpan? timeout)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
managedCefBrowserAdapter.ExecuteScriptAsync(script);
|
||||
}
|
||||
|
||||
public object EvaluateScript(string script)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return EvaluateScript(script, timeout: null);
|
||||
}
|
||||
|
||||
public object EvaluateScript(string script, TimeSpan? timeout)
|
||||
{
|
||||
if (timeout == null)
|
||||
{
|
||||
timeout = TimeSpan.MaxValue;
|
||||
}
|
||||
|
||||
return managedCefBrowserAdapter.EvaluateScript(script, timeout.Value);
|
||||
}
|
||||
|
||||
public event LoadErrorEventHandler LoadError;
|
||||
|
||||
@@ -23,7 +23,7 @@ using namespace System::Security::Permissions;
|
||||
"4a33cceaf8b8ba1800b7d7bff67b72b90837271491b61c91ef6d667be0521ce171f77e114fc2bb"
|
||||
"cfd185d3"
|
||||
)];
|
||||
[assembly:InternalsVisibleTo("CefSharp.WinForm, PublicKey="
|
||||
[assembly:InternalsVisibleTo("CefSharp.WinForms, PublicKey="
|
||||
"0024000004800000940000000602000000240000525341310004000001000100c5ddf5d063ca8e"
|
||||
"695d4b8b5ad76634f148db9a41badaed8850868b75f916e313f15abb62601d658ce2bed877d733"
|
||||
"14d5ed202019156c21033983fed80ce994a325b5d4d93b0f63a86a1d7db49800aa5638bb3fd98f"
|
||||
|
||||
Reference in New Issue
Block a user