Click or drag to resize
FileUrlBase Class
Base class for file URL representation.
Inheritance Hierarchy
SystemObject
  Kentico.Content.Web.MvcFileUrlBase
    Kentico.Content.Web.MvcFileUrl

Namespace: Kentico.Content.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public abstract class FileUrlBase : IFileUrl

The FileUrlBase type exposes the following members.

Constructors
  NameDescription
Protected methodFileUrlBase
Initializes an instance of FileUrl class.
Top
Fields
  NameDescription
Protected fieldrelativePath
Relative path of the file without parametrization applied.
Top
Properties
  NameDescription
Public propertyIsImage
Indicates if the file represents an image.
Public propertyQueryStringParameters
Collection of query string parameters that are appended to the RelativePath.
Public propertyRelativePath
Relative path (starting with ~/) of the file.
Top
Methods
  NameDescription
Protected methodBuildUrl
Builds the path based on given path and current query string.
Public methodClone
Clones the file URL representation to provide immutability support.
Top
Extension Methods
  NameDescription
Public Extension MethodWithOptions
Provides additional file URL options based on given parameters.
(Defined by IFileUrlExtensions.)
Public Extension MethodWithSizeConstraint
Provides size constraints to the file URL if file represents an image based on given parameters.
(Defined by IFileUrlExtensions.)
Top
See Also