Exemplo n.º 1
0
        public override BuildLogging Clone()
        {
            BuildLogging logging = new BuildLogging(this);

            if (_loggers != null)
            {
                logging._loggers = _loggers.Clone();
            }
            if (_fileName != null)
            {
                logging._fileName = String.Copy(_fileName);
            }
            if (_outputPath != null)
            {
                logging._outputPath = _outputPath.Clone();
            }

            return(logging);
        }
Exemplo n.º 2
0
        public override BuildFramework Clone()
        {
            BuildFramework framework = new BuildFramework(this);

            if (_assemblyDir != null)
            {
                framework._assemblyDir = String.Copy(_assemblyDir);
            }
            if (_version != null)
            {
                framework._version = (Version)_version.Clone();
            }
            if (_commentDirs != null)
            {
                framework._commentDirs = _commentDirs.Clone();
            }
            if (_commentFiles != null)
            {
                framework._commentFiles = _commentFiles.Clone();
            }

            return(framework);
        }