Class StartUrlCriterion
Visitor group criterion that will match the request parameters with the values stored in the settings
Inheritance
System.Object
    
    
    StartUrlCriterion
  Inherited Members
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
[VisitorGroupCriterion(Category = "URL Criteria", Description = "Match the first incomping URL with a specified value", DisplayName = "First Incoming URL", LanguagePath = "/shell/cms/visitorgroups/criteria/starturl")]
public class StartUrlCriterion : UriSessionStartCriterionBase<StartUrlModel>, ICriterion, IGeneratesAdministrativeInterfaceConstructors
StartUrlCriterion()
Initializes a new instance of the StartUrlCriterion class.
Declaration
public StartUrlCriterion()StartUrlCriterion(IStateStorage)
Initializes a new instance of the StartUrlCriterion class.
Declaration
public StartUrlCriterion(IStateStorage stateStorage)Parameters
| Type | Name | Description | 
|---|---|---|
| IStateStorage | stateStorage | State storage | 
Properties
SessionKey
Gets the session key.
Declaration
public override string SessionKey { get; }Property Value
| Type | Description | 
|---|---|
| System.String | The cookie key. | 
Overrides
EPiServer.Personalization.VisitorGroups.Criteria.UriSessionStartCriterionBase<EPiServer.Personalization.VisitorGroups.Criteria.StartUrlModel>.SessionKey
  Methods
GetUri(HttpContext)
Gets the request URI from http context.
Declaration
protected override Uri GetUri(HttpContext httpContext)Parameters
| Type | Name | Description | 
|---|---|---|
| Microsoft.AspNetCore.Http.HttpContext | httpContext | The HTTP context. | 
Returns
| Type | Description | 
|---|---|
| System.Uri | 
Overrides
EPiServer.Personalization.VisitorGroups.Criteria.UriSessionStartCriterionBase<EPiServer.Personalization.VisitorGroups.Criteria.StartUrlModel>.GetUri(Microsoft.AspNetCore.Http.HttpContext)
  
  
  
  IsMatch(Uri)
Determines whether the specified URI is match.
Declaration
protected override bool IsMatch(Uri uri)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Uri | uri | The URI. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
Overrides
EPiServer.Personalization.VisitorGroups.Criteria.UriSessionStartCriterionBase<EPiServer.Personalization.VisitorGroups.Criteria.StartUrlModel>.IsMatch(System.Uri)
  