• Register
  • New password
  • Log in
  • DXC Service
  • Products
    • Episerver CMS
    • Episerver Commerce
    • Episerver Campaign
    • Episerver Find
    • Episerver Personalization
      • Advance
      • Perform
      • Insight
      • Reach
      • Personalized Find
    • Episerver Social API
    • Episerver integrations & add-ons
    • Ektron CMS
  • Documentation
    • UI feature list
    • Technical overview
    • System requirements
    • Installation
    • Get started
      • CMS
      • Commerce
      • Campaign
      • Find
      • Personalization
      • Insight
      • Social API
      • Service API
    • User guides
    • Developer guides
      • CMS
      • Commerce
      • Campaign
      • Find
      • Advance
      • Perform
      • Reach
      • Personalized Find
      • Insight
      • Tracking
      • Profile Store
      • Content Delivery API
      • Social API
      • Service API
      • Forms
    • Class libraries (SDKs)
      • CMS
      • Commerce
      • Campaign
      • Find
      • Social
      • Profile Store
    • Video tutorials
    • Releases
    • Upgrading
      • CMS
      • Commerce
      • Find
      • Forms
      • Service API
      • Personalization
  • Blogs
  • Forums
  • Support
  • New to Episerver?
Documentation /
  • EPiServer.Web.Routing.Segments
  • PartialSegment
    • PartialSegment Methods
    • PartialSegment Properties

PartialSegment Class

Assembly: EPiServer (in EPiServer.dll) Version: 9.7.2

Syntax:

C#
public class PartialSegment : SegmentBase

Segment implementation that handles partial routing.

Methods

Name Summary Status
AppendTrailingSlash Called for the last segment that outputs anything in virtualpath. The segment implementation can then decide wether a trailing slash should be added. public
GetIdentity Extracts the identity from the object if it has one. public, static
GetOriginalType Gets the Type of the current object, ensuring that the eventual type that could be generated by a proxy interceptor is ignored. public, static
GetVirtualPathSegment(RequestContext, RouteValueDictionary) Gets the string representation of this segments virtual path. public
GetVirtualPathSegment(RequestContext, RouteValueDictionary, HashSet(String)) Gets the string representation of this segments virtual path. public
PartialSegment Constructor Initializes a new instance of the PartialSegment class. public
PartialSegment Constructor Initializes a new instance of the PartialSegment class. public
RouteDataMatch Route incoming segment. public
SetIdentity Sets the identity into the object if supported public, static
ToPropertyBag(Object) Create a PropertyBag instance and populates it with its properties The algorith for extracting properties is as follows: 1) Property must a have a getter and setter 2a) Getter must be public OR 2b) The class must be marked either with the DataContractAttribute or EPiServerDataContractAttribute and the property must be marked either with the DataMemberAttribute or EPiServerDataMemberAttribute public, static
ToPropertyBag(Object, IEnumerable(String)) Create a PropertyBag instance and populates it with its properties public, static

Properties

Name Summary Status
Name The name of a segment. It is used to determine if a specific segment should be used when routing. public

Inheritance

  • System.Object
  • EPiServer.Web.Routing.Segments.SegmentBase
  • EPiServer.Web.Routing.Segments.PartialSegment
feedback image
Careers image

© Episerver 2019 │

About Episerver World