using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
namespace ScriptNET.Runtime
{
///
/// Is a result of binding to an object / or a type
///
public interface IObjectBind : IInvokable
{
}
///
/// Is a result of binding to Property, Field or Event of an object
///
public interface IMemberBind : IObjectBind
{
///
/// Object to which this member belongs
///
object Target { get; }
Type TargetType { get; }
MemberInfo Member { get; }
///
/// Sets value to the member
///
///
void SetValue(object value);
///
/// Returns the value of a member
///
///
object GetValue();
void AddHandler(object value);
void RemoveHandler(object value);
}
}