public void Changed(IFieldEventInformation info)
 {
     if (info.Sender.Id == "Last Name")
     {
         IIndexFields nodeFields = info.GetCurrentNodeFields();
         IIndexField lastName = nodeFields.GetFieldById("Last Name");
         if (lastName != null)
         {
             lastName.Value = lastName.Value.Trim();
         }
     }
     if (info.Sender.Id == "First Name")
     {
         IIndexFields nodeFields = info.GetCurrentNodeFields();
         IIndexField firstName = nodeFields.GetFieldById("First Name");
         if (firstName != null)
         {
             firstName.Value = firstName.Value.Trim();
         }
     }
 }
 public ValidationResult Validate(IFieldEventInformation info, ValidationReason validationReason, Boolean silent)
 {
     return default(ValidationResult);
 }
 public void Populate(IFieldEventInformation info)
 {
 }
 public void Initialize(IFieldEventInformation info)
 {
 }