in src/BundledBindings/TimerTriggerBinding.cs [17:33]
public override BindingInformation? ExtractBinding(AttributeAst attribute, ParameterAst parameter)
{
BindingInformation bindingInformation = new BindingInformation();
bindingInformation.Name = parameter.Name.VariablePath.UserPath;
string chronExpression = WorkerIndexingHelper.GetNamedArgumentStringValue(attribute, Constants.BindingPropertyNames.Chron);
bindingInformation.Direction = BindingDirection;
bindingInformation.Type = BindingType;
if (string.IsNullOrWhiteSpace(chronExpression))
{
throw new Exception();
}
bindingInformation.otherInformation.Add(Constants.JsonPropertyNames.Schedule, chronExpression);
return bindingInformation;
}