forked from cefsharp/CefSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move test logic into CefSharp.Example, run all example tests in wpf
- Loading branch information
Showing
17 changed files
with
766 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
using System; | ||
|
||
namespace CefSharp.Example | ||
{ | ||
class BoundObject | ||
{ | ||
public string Repeat(string str, int n) | ||
{ | ||
string result = String.Empty; | ||
for (int i = 0; i < n; i++) | ||
{ | ||
result += str; | ||
} | ||
return result; | ||
} | ||
|
||
public void EchoVoid() | ||
{ | ||
} | ||
|
||
public Boolean EchoBoolean(Boolean arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Boolean? EchoNullableBoolean(Boolean? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public SByte EchoSByte(SByte arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public SByte? EchoNullableSByte(SByte? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Int16 EchoInt16(Int16 arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Int16? EchoNullableInt16(Int16? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Int32 EchoInt32(Int32 arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Int32? EchoNullableInt32(Int32? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Int64 EchoInt64(Int64 arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Int64? EchoNullableInt64(Int64? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Byte EchoByte(Byte arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Byte? EchoNullableByte(Byte? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public UInt16 EchoUInt16(UInt16 arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public UInt16? EchoNullableUInt16(UInt16? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public UInt32 EchoUInt32(UInt32 arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public UInt32? EchoNullableUInt32(UInt32? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public UInt64 EchoUInt64(UInt64 arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public UInt64? EchoNullableUInt64(UInt64? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Single EchoSingle(Single arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Single? EchoNullableSingle(Single? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Double EchoDouble(Double arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Double? EchoNullableDouble(Double? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Char EchoChar(Char arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Char? EchoNullableChar(Char? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public DateTime EchoDateTime(DateTime arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public DateTime? EchoNullableDateTime(DateTime? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Decimal EchoDecimal(Decimal arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public Decimal? EchoNullableDecimal(Decimal? arg0) | ||
{ | ||
return arg0; | ||
} | ||
|
||
public String EchoString(String arg0) | ||
{ | ||
return arg0; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.