Table of Contents

Interface IScriptSource

Namespace
Alternet.Scripter.TypeScript
Assembly
Alternet.Scripter.TypeScript.v9.dll

Represents methods and properties to work with script text, files or projects.

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.