#ScriptSorter

##Properties

None.

##Methods

###BuildChildTree(Izenda.AdHoc.ScriptSorter.ScriptDownloadItem) Recursively constructs a search tree within the sorter for determining the fastest order to insert scripts into a page based on the given script item.

Parameters:


###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.

Parameters:

Returns:

true if the specified System.Object is equal to the current System.Object; otherwise, false.


###GetDownloadOrder() Gets the collection of scripts in order of how the scripts need to be added to the web page.


###GetHashCode() Serves as a hash function for a particular type.

Returns:

A hash code for the current System.Object.


###GetType() Gets the System.Type of the current instance.

Returns:

The System.Type instance that represents the exact runtime type of the current instance.


###RegisterScript(System.String,System.String,System.String[]) Adds a javascript file to the collection with the specified parameters.

Parameters:

  • System.String scriptUrl - The fully-qualified URL of the javascript file to be added to the collection.
  • System.String name - The name of the javascript file.
  • System.String[] requiredScriptNames - The array of script names that this script depends upon to run.

###ToString() Returns a System.String that represents the current System.Object.

Returns:

A System.String that represents the current System.Object.