using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CefSharp.ModelBinding
{
///
/// Provides the capability intercepting get/set property calls made from javascript as part of the
/// JavascriptBinding (JSB) implementation.
///
public interface IPropertyInterceptor
{
///
/// Called before the get property is invokved. You are now responsible for evaluating
/// the property and returning the result.
///
/// A Func that represents the property to be called
/// Name of the property to be called
/// The property result
///
///
/// propertyGetter, string propertyName)
/// {
/// object result = propertyGetter();
/// Debug.WriteLine("InterceptGet " + propertyName);
/// return result;
/// }
/// ]]>
///
///
object InterceptGet(Func