/// <summary> /// The contact details for the league have changed /// </summary> public IClassifierDataSourceHandler.EvaluationResult EvaluateEvent(IContact_Details_Changed eventToEvaluate) { // On Contact Details Changed, if Twitter Handle IsEmpty Any set to Include, otherwise set to Exclude if (string.IsNullOrWhiteSpace("Any")) { return(IClassifierDataSourceHandler.EvaluationResult.Include); } else { return(IClassifierDataSourceHandler.EvaluationResult.Exclude); } }
/// <summary> /// The contact details for the league have changed /// </summary> public void HandleEvent(IContact_Details_Changed eventToHandle) { // Twitter handle is set whenever the contact details change }
/// <summary> /// Create And populate a New instance Of this Class from the underlying Interface /// </summary> /// <remarks> /// This should be called When the Event Is created from an Event stream /// </remarks> public Contact_Details_Changed(IContact_Details_Changed Contact_Details_ChangedInit) { _Effective_From = Contact_Details_ChangedInit.Effective_From; _Twitter_Handle = Contact_Details_ChangedInit.Twitter_Handle; _Email_Address = Contact_Details_ChangedInit.Email_Address; }