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()));
        }
コード例 #2
0
        public AssociationValue GetAssociationValue(IEventMessage <object> eventMessage)
        {
            object associationValue = _associationResolver.Resolve(_associationPropertyName, eventMessage, this);

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