Example #1
0
        public AssemblyReferences Except(AssemblyReferences obj)
        {
            Guard.AgainstNullArgument("obj", obj);

            var deltaObject = new AssemblyReferences
            {
                PathReferences = new HashSet <string>(PathReferences.Except(obj.PathReferences)),
                Assemblies     = new HashSet <Assembly>(Assemblies.Except(obj.Assemblies))
            };

            return(deltaObject);
        }
        public AssemblyReferences Except(AssemblyReferences obj)
        {
            Guard.AgainstNullArgument("obj", obj);

            return(new AssemblyReferences(PathReferences.Except(obj.PathReferences), Assemblies.Except(obj.Assemblies)));
        }