Example #1
0
        public static GothicArguments operator +(GothicArguments o1, GothicArguments o2)
        {
            GothicArguments result = new GothicArguments(o1._gothicArguments);

            foreach (var key in o2._gothicArguments.Keys)
            {
                result._gothicArguments[key] = o2._gothicArguments[key];
            }

            return(result);
        }
Example #2
0
        public static GothicArguments operator -(GothicArguments o1, GothicArguments o2)
        {
            GothicArguments result = new GothicArguments(o1._gothicArguments);

            foreach (var key in o2._gothicArguments.Keys)
            {
                if (result._gothicArguments.ContainsKey(key))
                {
                    result._gothicArguments.Remove(key);
                }
            }

            return(result);
        }