public class FunctionInfoCompanyName : FunctionInfo
{
public delegate void EvaluateEventHandler(object[] sender, FunctionValue obj);
public event EvaluateEventHandler EvaluateEvent;
public override string Name { get { return "COMPANYNAME"; } }
public override int MinArgs { get { return 0; } }
public override int MaxArgs { get { return 0; } }
public override object Evaluate(object[] args)
{
FunctionValue obj = new FunctionValue();
if (EvaluateEvent != null)
{
EvaluateEvent(args, obj);
}
return obj.Value;
}
} |