mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 08:34:55 +00:00
0150d09a37
- Fix ConvertToCef while method returns void. - Add exception handling while converting arguments from cef. - Add some tests, but it is not complete!
23 lines
426 B
C#
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()
|
|
{
|
|
}
|
|
}
|
|
} |