using System;
using System.Threading.Tasks;
using Fluid.Values;
namespace Elsa.Scripting.Liquid.Helpers
{
///
/// Can be used to provide a factory to return a value based on a property name
/// that is unknown at registration time.
///
/// e.g. {{ LiquidPropertyAccessor.MyPropertyName }} (MyPropertyName will be passed as the identifier argument to the factory)
///
public class LiquidPropertyAccessor : LiquidObjectAccessor
{
public LiquidPropertyAccessor(Func> getter) : base(getter)
{
}
}
}