Example #1
0
        protected void DeferAdd(ITransient other)
        {
            if (other == null)
            {
                return;
            }

            Deletions.RemoveRef(other);
            Additions.Add(other);
        }
Example #2
0
        public void Add(params ITransient[] others)
        {
            foreach (var other in others)
            {
                if (other == null)
                {
                    continue;
                }

                Deletions.RemoveRef(other);
                Additions.Add(other);
            }
        }