public Compilation AddTemplate(string name)
        {
            string templatePath = _test.GetTestFilePath(name);

            _template = new CompilationInput(templatePath, name);
            return(this);
        }
        public Compilation AddComments(string name)
        {
            string commentsPath = _test.GetTestFilePath(name);

            _comments = new CompilationInput(commentsPath, name);
            return(this);
        }
示例#3
0
        public Compilation AddCode(string name, string code) {
            string sourcePath = _test.GetTestFilePath(name);

            CompilationInput codeInput = new CompilationInput(sourcePath, name, code);
            _sources.Add(codeInput);

            return this;
        }
        public Compilation AddCode(string name, string code)
        {
            string sourcePath = _test.GetTestFilePath(name);

            CompilationInput codeInput = new CompilationInput(sourcePath, name, code);

            _sources.Add(codeInput);

            return(this);
        }
        public Compilation AddResource(string name)
        {
            string resourcesPath = _test.GetTestFilePath(name);

            CompilationInput resourceInput = new CompilationInput(resourcesPath, name);

            _resources.Add(resourceInput);

            return(this);
        }
示例#6
0
        public Compilation AddSource(string name)
        {
            string sourcePath = _test.GetTestFilePath(name);

            CompilationInput sourceInput = new CompilationInput(sourcePath, name);
            _sources.Add(sourceInput);

            return this;
        }
示例#7
0
        public Compilation AddResource(string name)
        {
            string resourcesPath = _test.GetTestFilePath(name);

            CompilationInput resourceInput = new CompilationInput(resourcesPath, name);
            _resources.Add(resourceInput);

            return this;
        }
示例#8
0
        public Compilation AddComments(string name)
        {
            string commentsPath = _test.GetTestFilePath(name);

            _comments = new CompilationInput(commentsPath, name);
            return this;
        }
示例#9
0
        public Compilation AddTemplate(string name) {
            string templatePath = _test.GetTestFilePath(name);

            _template = new CompilationInput(templatePath, name);
            return this;
        }