Appearance
GetMinifiedFilename Method
Definition
- Namespace:
JASE.IO - Assembly:
JASE.dll
Overloads
| Name | Description |
|---|---|
string GetMinifiedFilename(FileInfo fi) | Resolves a minified or production variant of the specified file, if available. |
string GetMinifiedFilename(string path) | Resolves a minified or production variant of the specified file path, if available. |
string GetMinifiedFilename(FileInfo fi)
csharp
string GetMinifiedFilename(FileInfo fi)Resolves a minified or production variant of the specified file, if available.
Parameters
| Name | Description |
|---|---|
fi | The file to examine. |
Returns
The full path to a .min or .prod variant of the file if one exists; otherwise the original file path.
string GetMinifiedFilename(string path)
csharp
string GetMinifiedFilename(string path)Resolves a minified or production variant of the specified file path, if available.
Parameters
| Name | Description |
|---|---|
path | The original file path (for example, "/scripts/app.js"). |
Returns
A path pointing to a .min or .prod variant of the file if one exists; otherwise the original path.