internal PesterSymbolReference( ScriptFile scriptFile, PesterCommandType commandType, string testLine, string testName, IScriptExtent scriptExtent) : base( SymbolType.Function, testLine.TrimEnd(DefinitionTrimChars), scriptExtent, scriptFile.FilePath, testLine) { Command = commandType; TestName = testName; }
internal PesterSymbolReference( ScriptFile scriptFile, string commandName, string testLine, string testName, IScriptExtent scriptExtent) : base( SymbolType.Function, testLine.TrimEnd(DefinitionTrimChars), scriptExtent, scriptFile.FilePath, testLine) { this.Command = GetCommandType(commandName).Value; this.TestName = testName; }