Class GeoLookupFilter
Upon match, looks up user's geo location based on a IP addresses
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Wave.Filters
Assembly: Azos.Wave.dll
Syntax
public class GeoLookupFilter : WorkFilter, IDisposable, IApplicationComponent, INamed, IOrdered
Constructors
GeoLookupFilter(WorkDispatcher, IConfigSectionNode)
Declaration
public GeoLookupFilter(WorkDispatcher dispatcher, IConfigSectionNode confNode)
Parameters
Type | Name | Description |
---|---|---|
Work |
dispatcher | |
IConfig |
confNode |
GeoLookupFilter(WorkDispatcher, String, Int32)
Declaration
public GeoLookupFilter(WorkDispatcher dispatcher, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
Work |
dispatcher | |
System. |
name | |
System. |
order |
GeoLookupFilter(WorkHandler, IConfigSectionNode)
Declaration
public GeoLookupFilter(WorkHandler handler, IConfigSectionNode confNode)
Parameters
Type | Name | Description |
---|---|---|
Work |
handler | |
IConfig |
confNode |
GeoLookupFilter(WorkHandler, String, Int32)
Declaration
public GeoLookupFilter(WorkHandler handler, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
Work |
handler | |
System. |
name | |
System. |
order |
Fields
VAR_USE_ADDR
Allows to override user real address with this one
Declaration
public const string VAR_USE_ADDR = "use-addr"
Field Value
Type | Description |
---|---|
System. |
Properties
GeoLookupModuleName
Sets name of the geo lookup module
Declaration
public string GeoLookupModuleName { get; set; }
Property Value
Type | Description |
---|---|
System. |
LookupMatches
Returns matches used by the filter to determine whether user's location should be looked-up
Declaration
public OrderedRegistry<WorkMatch> LookupMatches { get; }
Property Value
Type | Description |
---|---|
Ordered |
Methods
DoFilterWork(WorkContext, IList<WorkFilter>, Int32)
Declaration
protected override void DoFilterWork(WorkContext work, IList<WorkFilter> filters, int thisFilterIndex)
Parameters
Type | Name | Description |
---|---|---|
Work |
work | |
System. |
filters | |
System. |
thisFilterIndex |
Overrides
Implements
System.IDisposable