2018-09-10 02:41:13 +02:00
|
|
|
// Copyright © 2014 The CefSharp Authors. All rights reserved.
|
2015-08-03 10:41:29 +10:00
|
|
|
//
|
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
|
2018-10-29 16:21:42 +10:00
|
|
|
namespace CefSharp.Example.JavascriptBinding
|
2014-08-29 16:50:16 +10:00
|
|
|
{
|
2018-09-10 02:41:13 +02:00
|
|
|
public class SubBoundObject
|
|
|
|
|
{
|
|
|
|
|
public string SimpleProperty { get; set; }
|
2014-08-29 16:50:16 +10:00
|
|
|
|
2018-09-10 02:41:13 +02:00
|
|
|
public SubBoundObject()
|
|
|
|
|
{
|
|
|
|
|
SimpleProperty = "This is a very simple property.";
|
|
|
|
|
}
|
2014-08-29 16:50:16 +10:00
|
|
|
|
2018-09-10 02:41:13 +02:00
|
|
|
public string GetMyType()
|
|
|
|
|
{
|
|
|
|
|
return "My Type is " + GetType();
|
|
|
|
|
}
|
2014-09-16 17:41:22 +10:00
|
|
|
|
2018-09-10 02:41:13 +02:00
|
|
|
public string EchoSimpleProperty()
|
|
|
|
|
{
|
|
|
|
|
return SimpleProperty;
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-08-29 16:50:16 +10:00
|
|
|
}
|