//
// NKalore Compiler related class
//
// Licensed under the terms of the GNU GPL
//
// Author:
// Guilherme Labigalini (glabega@gmail.com), 2005
//
// http://aspectsharpcomp.sourceforge.net/
using System;
using System.Reflection;
namespace NKalore.Model{
/// <summary>
/// JoinPoint.
/// </summary>
public class JoinPoint
{
private MethodBase _methodInfo;
private object _instance;
private object[] _paramsData;
public MethodBase MethodInfo
{
get { return _methodInfo; }
}
public Type ContainerType
{
get { return this.MethodInfo.ReflectedType; }
}
public object Instance
{
get { return _instance; }
}
public object[] ParamsData
{
get { return _paramsData; }
}
public JoinPoint(
MethodBase methodInfo,
object instance,
object[] paramsData)
{
this._methodInfo = methodInfo;
this._instance = instance;
this._paramsData = paramsData;
}
}
}
|