IScriptSource Interface
Definition
Represents methods and properties to work with script text, files or projects.
Syntax
public interface IScriptSource : IScriptSourceBase, ICloneable, IEquatable<IScriptSource>
Properties
Changed | When implemented by a class, gets or sets boolean value indicating if script source has been modified since last compilation. |
Files | When implemented by a class, gets list of files containing script to execute. |
Language | When implemented by a class, returns script programming language. |
ProjectName | When implemented by a class, gets or sets name of the Visual Studio project containing script files to execute. |
RootNamespace | When implemented by a class, gets or sets root namespace to be used for manifest resources. |
SearchPaths | When implemented by a class, gets list of search directories to look for source files. |
Methods
FromExpression(String) | When implemented by a class, loads script source from the expression. |
FromScriptCode(String) | When implemented by a class, loads script source from the script code. |
FromScriptCode(String, String) | When implemented by a class, loads script source from the script code. |
FromScriptFile(String) | When implemented by a class, loads script source from the script file. |
FromScriptProject(String) | When implemented by a class, loads script source from the TypeScript project. |
GetLastModifiedDate(String) | When implemented by a class, gets file date time when script source was compiled. |
HasBeenModified(IScriptSource) | When implemented by a class, compares file modification dates against to other script source. |
Reset() | When implemented by a class, clears script source. |