예제 #1
0
        public void TestDistributeRemoveAttributeSet()
        {
            _confirmingDistributor.DistributeRemove(_set);

            MultiChannelMessageAssertions(2);

            Assert.Equal(1, Application.InformAttributeSetRemovedCheck.Get());
            Assert.Equal(1, Application.InformAttributeRemovedCheck.Get());
        }
예제 #2
0
    public void RemoveAll(string attributeSetName)
    {
        var set = _repository.AttributeSetOf(attributeSetName);

        if (!set.IsNone)
        {
            _repository.Remove(attributeSetName);
            _client.SyncWithout(set);
            _confirmingDistributor.DistributeRemove(set);
        }
    }