System Library Common Episerver
Search Results for

    DocFx,SystemLibrary.Common.Episerver.Properties.MessageConfig,SystemLibrary.Common.Episerver.Properties.MessageEditorDescriptor,SystemLibrary.Common.Episerver.Properties.MessageProperty,SystemLibrary.Common.Episerver.Properties.MessageController,SystemLibrary.Common.Episerver.Attributes.BoxSelectionController,SystemLibrary.Common.Episerver.Attributes.BoxSelectionFactory,SystemLibrary.Common.Episerver.Attributes.JsonEditController,SystemLibrary.Common.Episerver.Attributes.JsonEditFactory,SystemLibrary.Common.Episerver.Descriptors.HideCategoryListDescriptor,SystemLibrary.Common.Episerver.Properties.ParentLinkReferenceController,SystemLibrary.Common.Episerver.Properties.ParentLinkReferenceEditorDescriptor,SystemLibrary.Common.Episerver.Properties.ParentLinkReferenceProperty,SystemLibrary.Common.Episerver.Attributes.MultiDropdownSelectionController,SystemLibrary.Common.Episerver.Attributes.MultiDropdownSelectionFactory,SystemLibrary.Common.Episerver.Initialize.RemoveSuggestedContentTypes,SystemLibrary.Common.Episerver.Extensions.CommonEpiserverApplicationServicesOptions,SystemLibrary.Common.Episerver.Extensions.CommonEpiserverApplicationBuilderOptions,SystemLibrary.Common.Episerver.EditController,SystemLibrary.Common.Episerver.Abstract.BaseController,SystemLibrary.Common.Episerver.Abstract.BaseMultiSelectionFactory,SystemLibrary.Common.Episerver.ConnectionStringsConfig,SystemLibrary.Common.Episerver.PropertiesConfig,SystemLibrary.Common.Episerver.EditConfig,SystemLibrary.Common.Episerver.Properties.MessageConfig,SystemLibrary.Common.Episerver.FontAwesome,SystemLibrary.Common.Episerver.AppSettings.Configuration,SystemLibrary.Common.Episerver.Attributes.ParentLinkReferenceFactory,SystemLibrary.Common.Episerver.Abstract.InternalBaseController,WebApplicationInitializer
    Show / Hide Table of Contents
    NamespaceSystemLibrary.Common.Episerver.Extensions SystemLibrary.Common.Episerver.dll

    Extensions for Url

    UrlExtensions

    public static class UrlExtensions

    Inheritance
    System.Object
    UrlExtensions
    Examples
    Arguments
    X

    Methods

    Returns true or false

    Does not throw on null

    View Source

    public static bool Is(this Url url)

    X
    Methods arguments
    Type Name Description
    EPiServer.Url url
    X
    Type Description
    System.Boolean

    Returns true or false

    Does not throw on null

    View Source

    public static bool IsNot(this Url url)

    X
    Methods arguments
    Type Name Description
    EPiServer.Url url
    X
    Type Description
    System.Boolean

    Returns a friendly url behind the content reference, or null if content reference is null or has an invalid ID

    Does not throw on null

    Never returns null, minimum blank

    View Source

    public static string ToFriendlyUrl(this Url url, bool? convertToAbsolute = null)

    X
    Methods arguments
    Type Name Description
    EPiServer.Url url
    System.Nullable<System.Boolean> convertToAbsolute
    X
    Type Description
    System.String

    }

    • View Source
    In This Article
    Package: nuget
    Source: github
    Website: System Library Common Episerver