Files
cefsharp/CefSharp.Example/BoundObject.cs
T
fddima 0150d09a37 - Added ScriptException exception class.
- Fix ConvertToCef while method returns void.
- Add exception handling while converting arguments from cef.
- Add some tests, but it is not complete!
2010-12-15 15:33:23 +02:00

23 lines
426 B
C#

using System;
namespace CefSharp.Example
{
public class BoundObject
{
public string Repeat(string str, int n)
{
Console.WriteLine("In bound object method");
string result = "";
for (int i = 0; i < n; i++)
{
result += str;
}
return result;
}
public void EchoVoid()
{
}
}
}