Method | Description | |
---|---|---|
AddPath ( string path ) : void |
Adds a path to the bundle with the order of 0.
|
|
AddPath ( string path, int order ) : void |
Adds a path to the bundle with the specified order.
|
|
Bundle ( ) : System |
Creates a new instance of the Bundle class.
|
|
Close ( ) : void |
Closes the current bundle. It's not possible to reopen.
|
|
Combine ( ) : string |
Combines the files in this bundle into one.
|
Method | Description | |
---|---|---|
GetTextFromPath ( string path ) : string |
Gets the text content from a given path and processes it. Override this method if you want to implement custom logic when each file is loaded.
|
public AddPath ( string path ) : void | ||
path | string | The path to add to the bundle. |
return | void |
public AddPath ( string path, int order ) : void | ||
path | string | The path to add to the bundle. |
order | int | The specified order. |
return | void |
protected GetTextFromPath ( string path ) : string | ||
path | string | The path from which to the content should be retrieved. |
return | string |