Struct RouteRequestOptions
Options for routing an Umbraco request
Namespace: Umbraco.Cms.Core.Routing
Assembly: Umbraco.Core.dll
Syntax
public struct RouteRequestOptions
Constructors
View SourceRouteRequestOptions(RouteDirection)
Initializes a new instance of the RouteRequestOptions struct.
Declaration
public RouteRequestOptions(RouteDirection direction)
Parameters
| Type | Name | Description |
|---|---|---|
| RouteDirection | direction |
Properties
View SourceRouteDirection
Gets the RouteDirection
Declaration
public readonly RouteDirection RouteDirection { get; }
Property Value
| Type | Description |
|---|---|
| RouteDirection |
Methods
View SourceEquals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current instance. |
Returns
| Type | Description |
|---|---|
| bool | true if |
Equals(RouteRequestOptions)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(RouteRequestOptions other)
Parameters
| Type | Name | Description |
|---|---|---|
| RouteRequestOptions | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A 32-bit signed integer that is the hash code for this instance. |