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: NFX.Wave.Filters
Assembly: NFX.Wave.dll
Syntax
public class GeoLookupFilter : WorkFilter, IApplicationComponent, IDisposable, INamed, IOrdered
Constructors
GeoLookupFilter(WorkDispatcher, IConfigSectionNode)
Declaration
public GeoLookupFilter(WorkDispatcher dispatcher, IConfigSectionNode confNode)
Parameters
Type | Name | Description |
---|---|---|
WorkDispatcher | dispatcher | |
IConfigSectionNode | confNode |
GeoLookupFilter(WorkDispatcher, String, Int32)
Declaration
public GeoLookupFilter(WorkDispatcher dispatcher, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
WorkDispatcher | dispatcher | |
System.String | name | |
System.Int32 | order |
GeoLookupFilter(WorkHandler, IConfigSectionNode)
Declaration
public GeoLookupFilter(WorkHandler handler, IConfigSectionNode confNode)
Parameters
Type | Name | Description |
---|---|---|
WorkHandler | handler | |
IConfigSectionNode | confNode |
GeoLookupFilter(WorkHandler, String, Int32)
Declaration
public GeoLookupFilter(WorkHandler handler, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
WorkHandler | handler | |
System.String | name | |
System.Int32 | 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.String |
Properties
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 |
---|---|
OrderedRegistry<WorkMatch> |
Methods
DoFilterWork(WorkContext, IList<WorkFilter>, Int32)
Declaration
protected override void DoFilterWork(WorkContext work, IList<WorkFilter> filters, int thisFilterIndex)
Parameters
Type | Name | Description |
---|---|---|
WorkContext | work | |
System.Collections.Generic.IList<WorkFilter> | filters | |
System.Int32 | thisFilterIndex |
Overrides
Implements
System.IDisposable