38 lines
780 B
C#
38 lines
780 B
C#
using JD.Reflection.MefImplementations.Model;
|
|
|
|
namespace JD.Reflection.MefImplementations.Composition
|
|
{
|
|
public class ExportedValue
|
|
{
|
|
#region Variables
|
|
|
|
private readonly ExportDefinition m_exportDefinition;
|
|
private readonly object m_value;
|
|
|
|
#endregion
|
|
|
|
#region Constructor
|
|
|
|
public ExportedValue(ExportDefinition exportDefinition, object value)
|
|
{
|
|
m_exportDefinition = exportDefinition;
|
|
m_value = value;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
public ExportDefinition ExportDefinition
|
|
{
|
|
get { return m_exportDefinition; }
|
|
}
|
|
|
|
public object Value
|
|
{
|
|
get { return m_value; }
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|