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