예제 #1
0
        public void TestConfirmRemoveAttributeSet()
        {
            _confirmingDistributor.ConfirmRemove("123", _set, _localNode);

            SingleChannelMessageAssertions();

            Assert.Equal(1, Application.InformAttributeSetRemovedCheck.Get());
        }
    internal void RemoveAttributeSet(ReceivedAttributeMessage request)
    {
        var attributeSet = _repository.AttributeSetOf(request.AttributeSetName !);

        if (attributeSet.IsDefined)
        {
            attributeSet = AttributeSet.Named(request.AttributeSetName);
            _repository.Remove(request.AttributeSetName !);
        }
        _confirmingDistributor.ConfirmRemove(request.TrackingId, attributeSet, _configuration.NodeMatching(request.SourceNodeId));
    }