CmsData.OnlineRegSummaryText.SummaryInfo.IfHasAgeGroups C# (CSharp) Method

IfHasAgeGroups() private method

private IfHasAgeGroups ( TextWriter writer, HandlebarsDotNet.HelperOptions options, dynamic context ) : void
writer System.IO.TextWriter
options HandlebarsDotNet.HelperOptions
context dynamic
return void
        private void IfHasAgeGroups(TextWriter writer, HelperOptions options, dynamic context, params object[] args)
        {
            if (Person.setting.AgeGroups.Count == 0)
                return;
            options.Template(writer, new { AgeGroup = Person.AgeGroup() });
        }