Aaah ok great.


On Tue, Jul 16, 2013 at 3:22 AM, Lucian Bargaoanu
<notifications@github.com>wrote:

> In src/ScriptCs.Core/ScriptExecutor.cs:
>
> >              FileSystem = fileSystem;
> >              FilePreProcessor = filePreProcessor;
> >              ScriptEngine = scriptEngine;
> >              Logger = logger;
> >          }
> >
> > +        public void AddNamespaces(IEnumerable<string> namespaces)
> > +        {
> > +            Guard.AgainstNullArgument("namespaces", namespaces);
> > +
> > +            foreach(var @namespace in namespaces)
> > +            {
> > +                AddNamespace(@namespace);
> > +            }
> > +        }
> > +
> > +        public void AddNamespace(string @namespace)
> > +        {
> > +            Guard.AgainstNullArgument("namespace", @namespace);
> > +
> > +            Namespaces.Add(@namespace);
>
> In Execute references and namespaces are passed using Union, so duplicates
> are already ignored.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/scriptcs/scriptcs/pull/371/files#r5209747>
> .
>