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

IfAskChurch() private method

private IfAskChurch ( TextWriter writer, HandlebarsDotNet.HelperOptions options, dynamic context ) : void
writer System.IO.TextWriter
options HandlebarsDotNet.HelperOptions
context dynamic
return void
        private void IfAskChurch(TextWriter writer, HelperOptions options, dynamic context, params object[] args)
        {
            if (!currentAsk.IsAskChurch)
                return;
            var recReg = OrgMember.Person.GetRecReg();
            options.Template(writer, new
            {
                ShowNotMember = recReg.Member == true ? "" : "Not",
                ShowNotActive = recReg.ActiveInAnotherChurch == true ? "" : "Not",
            });
        }