ln.types/reflection/ObjectPoolValue.cs

20 lines
503 B
C#

using System;
namespace ln.types.reflection
{
public class ObjectPoolValue
{
public ObjectPool ObjectPool { get; }
public object Value { get; }
public string[] PathElements { get; }
public string Path => String.Join("/", PathElements);
public ObjectPoolValue(ObjectPool objectPool,string[] pathElements,object value)
{
ObjectPool = objectPool;
PathElements = pathElements;
Value = value;
}
}
}