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()));
        }
Exemplo n.º 2
0
        public AssociationValue GetAssociationValue(IEventMessage <object> eventMessage)
        {
            object associationValue = _associationResolver.Resolve(_associationPropertyName, eventMessage, this);

            return(new AssociationValue(_associationKey, associationValue.ToString()));
        }