Exemplo n.º 1
0
        /// <summary>
        /// Creates new untitled document
        /// </summary>
        internal NAntDocument(ILogsMessage logger, CommandLineOptions options)
        {
            Assert.NotNull(logger, "logger");
            Assert.NotNull(options, "options");

            _options = options;
            _logger = logger;
            Name = "Untitled*";
            Directory = ".\\";
            FullName = Directory + Name;
            Contents = "";
            FileType = FileType.New;

            BuildScript = new BlankBuildScript();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates new untitled document
        /// </summary>
        internal NAntDocument(ILogsMessage logger, CommandLineOptions options)
        {
            Assert.NotNull(logger, "logger");
            Assert.NotNull(options, "options");

            _options  = options;
            _logger   = logger;
            Name      = "Untitled*";
            Directory = ".\\";
            FullName  = Directory + Name;
            Contents  = "";
            FileType  = FileType.New;

            BuildScript = new BlankBuildScript();
        }