Ejemplo n.º 1
0
        public void RegisterCommand(IList collectionContext, NotifyCollectionChangedAction action, object @object)
        {
            var cmd = new CollectionAlterCommand()
            {
                Context  = collectionContext,
                Action   = action,
                OldValue = @object
            };

            RegisterCommand(cmd);
        }
Ejemplo n.º 2
0
        public void AddCommandToLastBulk(IList collectionContext, NotifyCollectionChangedAction action, object @object)
        {
            var cmd = new CollectionAlterCommand()
            {
                Context  = collectionContext,
                Action   = action,
                OldValue = @object
            };

            AddCommandToLastBulk(cmd);
        }