JSTest.ScriptElements.ScriptInclude.ScriptInclude C# (CSharp) Method

ScriptInclude() public method

public ScriptInclude ( String fileName ) : System
fileName String
return System
        public ScriptInclude(String fileName)
        {
            Verify.NotWhiteSpace(fileName, "fileName");

            _fileInfo = new FileInfo(fileName);

            if (!_fileInfo.Exists)
                throw new FileNotFoundException("Unable to find the specified file.", fileName);
        }