| FileUrlBase Class |
Namespace: Kentico.Content.Web.Mvc
public abstract class FileUrlBase : IFileUrl
The FileUrlBase type exposes the following members.
| Name | Description | |
|---|---|---|
| FileUrlBase |
Initializes an instance of FileUrl class.
|
| Name | Description | |
|---|---|---|
| relativePath |
Relative path of the file without parametrization applied.
|
| Name | Description | |
|---|---|---|
| IsImage |
Indicates if the file represents an image.
| |
| QueryStringParameters |
Collection of query string parameters that are appended to the RelativePath.
| |
| RelativePath |
Relative path (starting with ~/) of the file.
|
| Name | Description | |
|---|---|---|
| BuildUrl |
Builds the path based on given path and current query string.
| |
| Clone |
Clones the file URL representation to provide immutability support.
|
| Name | Description | |
|---|---|---|
| WithOptions |
Provides additional file URL options based on given parameters.
(Defined by IFileUrlExtensions.) | |
| WithSizeConstraint |
Provides size constraints to the file URL if file represents an image based on given parameters.
(Defined by IFileUrlExtensions.) |