Class MediaRoute
Represents a media route which can be used to generate URLs for media files.
Inheritance
object
MediaRoute
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DataWeb.Media
Assembly: DataWeb.Core.dll
Syntax
public class MediaRoute
Constructors
MediaRoute()
Declaration
public MediaRoute()
MediaRoute(string, object)
Initializes a new instance of the MediaRoute class with the specified route name and route values.
Declaration
public MediaRoute(string routeName, object routeValues)
Parameters
Type | Name | Description |
---|---|---|
string | routeName | The name of the route. |
object | routeValues | The values used to generate the URL for the route. |
Properties
RouteName
Gets or sets the name of the route.
Declaration
public string RouteName { get; set; }
Property Value
Type |
---|
string |
RouteValues
Gets or sets the values used to generate the URL for the route.
Declaration
public object RouteValues { get; set; }
Property Value
Type |
---|
object |