using System;
using System.Collections.Generic;
using System.Text;
namespace ScriptNET.Runtime
{
///
/// Expose dynamic members of an Instance to the script.
/// This require using of ObjectBinderExtended class as default object binder.
///
public interface IScriptable
{
///
/// Should return object wrapped by IScriptable or this
///
[Bindable(false)]
object Instance { get; }
///
/// Gets a binding to an instance's member (field, property)
///
[Bindable(false)]
IMemberBind GetMember(string name, params object[] arguments);
///
/// Gets a binding to an instance's method
///
[Bindable(false)]
IObjectBind GetMethod(string name, params object[] arguments);
}
}