UrlHelper.Url Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Overloads

Url(ExternalLink, Boolean, Boolean, Boolean) Returns an url for the external link.
Url(IEntity, Boolean) Returns the url to an entity.
Url(Space, Boolean) Returns the url to the first app of the specified type in a space.

Url(ExternalLink, Boolean, Boolean, Boolean)

Returns an url for the external link.

public static string Url(this ExternalLink link, bool password = false, bool absolute = false, bool download = false)

Parameters

password
System.Boolean
absolute
System.Boolean
download
System.Boolean

Returns

System.String

Url(IEntity, Boolean)

Returns the url to an entity.

public static string Url(this IEntity entity, bool absolute = false)

Parameters

entity
IEntity
absolute
System.Boolean

Returns

System.String

Url(Space, Boolean)

Returns the url to the first app of the specified type in a space.

public static string Url(this Space space, bool absolute = false)
    where TApp : App

Parameters

space
Space
absolute
System.Boolean

Returns

System.String