示例#1
0
        public Compilation AddComments(string name)
        {
            string commentsPath = _test.GetTestFilePath(name);

            _comments = new CompilationInput(commentsPath, name);
            return(this);
        }
示例#2
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);
        }
示例#3
0
        public Compilation AddResource(string name)
        {
            string resourcesPath = _test.GetTestFilePath(name);

            CompilationInput resourceInput = new CompilationInput(resourcesPath, name);

            _resources.Add(resourceInput);

            return(this);
        }