private static void ProcessLeadScoringThresholdPasses(ILeadScoringEventClient sender, LeadScoringThresholdPassesInfo leadScoringThresholdPassesInfo) { Console.WriteLine(); Console.WriteLine(DateTime.Now.ToString() + " => Receiving Lead Scoring Threshold Passes..."); foreach (LeadScoringThresholdPass thresholdPass in leadScoringThresholdPassesInfo.ThresholdPasses) { Console.WriteLine("Lead '{0}' for contact '{1}' has passed threshold '{2}' on '{3}'", thresholdPass.LeadName, thresholdPass.ContactEmail, thresholdPass.ThresholdName, thresholdPass.ThresholdPassedOn); } }
private static void ProcessLeadScoringThresholdPasses(ILeadScoringEventClient sender, LeadScoringThresholdPassesInfo leadScoringThresholdPassesInfo) { Console.WriteLine(); Console.WriteLine($"{DateTime.Now.ToString()} => Receiving Lead Scoring Threshold Passes..."); foreach (LeadScoringThresholdPass thresholdPass in leadScoringThresholdPassesInfo.ThresholdPasses) { Console.WriteLine($"Lead '{thresholdPass.LeadName}' for contact '{thresholdPass.ContactEmail}' has passed threshold '{thresholdPass.ThresholdName}' on '{thresholdPass.ThresholdPassedOn}'"); } }