public AssociationValue GetAssociationValue(IEventMessage eventMessage) { if (_associationResolver == null) { return(null); } var associationValue = _associationResolver.Resolve(_associationPropertyName, eventMessage, this); return(associationValue == null ? null : new AssociationValue(_associationKey, associationValue.ToString())); }
public AssociationValue GetAssociationValue(IEventMessage <object> eventMessage) { object associationValue = _associationResolver.Resolve(_associationPropertyName, eventMessage, this); return(new AssociationValue(_associationKey, associationValue.ToString())); }