Beispiel #1
0
        public BuildParameters Clone()
        {
            var ret = (BuildParameters)MemberwiseClone();

            ret.ForwardingLoggers      = ForwardingLoggers == null ? null : ForwardingLoggers.ToArray();
            ret.GlobalProperties       = GlobalProperties == null ? null : GlobalProperties.ToDictionary(p => p.Key, p => p.Value);
            ret.Loggers                = Loggers == null ? null : new List <ILogger> (Loggers);
            ret.environment_properties = new Dictionary <string, string> (environment_properties);
            return(ret);
        }