Class GeographicCoordinateModel
Model class for geographic coordinate criterion
Inheritance
System.Object
EPiServer.Personalization.VisitorGroups.CriterionModelBase
GeographicCoordinateModel
Inherited Members
EPiServer.Personalization.VisitorGroups.CriterionModelBase.ShallowCopy()
EPiServer.Personalization.VisitorGroups.CriterionModelBase.LocalizationService
EPiServer.Personalization.VisitorGroups.CriterionModelBase.Id
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class GeographicCoordinateModel : CriterionModelBase, ICriterionModel, IDynamicData
Constructors
GeographicCoordinateModel()
Declaration
public GeographicCoordinateModel()
Properties
Latitude
Selected latitude
Declaration
[DojoWidget(Ignore = true)]
[CriterionPropertyCulture(Culture = PropertyCulture.InvariantCulture)]
public double Latitude { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Location
Textual description of the selected location
Declaration
[DojoWidget(Ignore = true)]
public string Location { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Longitude
Selected longitude
Declaration
[CriterionPropertyCulture(Culture = PropertyCulture.InvariantCulture)]
[DojoWidget(Ignore = true)]
public double Longitude { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Radius
Radius around specified longitude and latitude in kilometers
Declaration
[DojoWidget(WidgetType = "dijit.form.NumberSpinner", AdditionalOptions = "{ selectOnClick: true }")]
public double Radius { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
RadiusUnit
Gets or sets which unit the Radius is specified in
Declaration
[DojoWidget(SelectionFactoryType = typeof(EnumSelectionFactory), AdditionalOptions = "{ selectOnClick: true }")]
public DistanceUnit RadiusUnit { get; set; }
Property Value
Type | Description |
---|---|
DistanceUnit |
Methods
Copy()
Creates a new object that is a copy of the current instance.
Declaration
public override ICriterionModel Copy()
Returns
Type | Description |
---|---|
EPiServer.Personalization.VisitorGroups.ICriterionModel | A new object that is a copy of this instance. |
Overrides
EPiServer.Personalization.VisitorGroups.CriterionModelBase.Copy()
Implements
EPiServer.Personalization.VisitorGroups.ICriterionModel