Traits Constructor (NullableInt64, String, String, String, String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, String, String, String) |
Constructor
Namespace:
MaxMind.GeoIP2.Model
Assembly:
MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax public Traits(
Nullable<long> autonomousSystemNumber = null,
string autonomousSystemOrganization = null,
string connectionType = null,
string domain = null,
string ipAddress = null,
bool isAnonymous = false,
bool isAnonymousProxy = false,
bool isAnonymousVpn = false,
bool isHostingProvider = false,
bool isLegitimateProxy = false,
bool isPublicProxy = false,
bool isSatelliteProvider = false,
bool isTorExitNode = false,
string isp = null,
string organization = null,
string userType = null
)
Public Sub New (
Optional autonomousSystemNumber As Nullable(Of Long) = Nothing,
Optional autonomousSystemOrganization As String = Nothing,
Optional connectionType As String = Nothing,
Optional domain As String = Nothing,
Optional ipAddress As String = Nothing,
Optional isAnonymous As Boolean = false,
Optional isAnonymousProxy As Boolean = false,
Optional isAnonymousVpn As Boolean = false,
Optional isHostingProvider As Boolean = false,
Optional isLegitimateProxy As Boolean = false,
Optional isPublicProxy As Boolean = false,
Optional isSatelliteProvider As Boolean = false,
Optional isTorExitNode As Boolean = false,
Optional isp As String = Nothing,
Optional organization As String = Nothing,
Optional userType As String = Nothing
)
public:
Traits(
Nullable<long long> autonomousSystemNumber = nullptr,
String^ autonomousSystemOrganization = nullptr,
String^ connectionType = nullptr,
String^ domain = nullptr,
String^ ipAddress = nullptr,
bool isAnonymous = false,
bool isAnonymousProxy = false,
bool isAnonymousVpn = false,
bool isHostingProvider = false,
bool isLegitimateProxy = false,
bool isPublicProxy = false,
bool isSatelliteProvider = false,
bool isTorExitNode = false,
String^ isp = nullptr,
String^ organization = nullptr,
String^ userType = nullptr
)
new :
?autonomousSystemNumber : Nullable<int64> *
?autonomousSystemOrganization : string *
?connectionType : string *
?domain : string *
?ipAddress : string *
?isAnonymous : bool *
?isAnonymousProxy : bool *
?isAnonymousVpn : bool *
?isHostingProvider : bool *
?isLegitimateProxy : bool *
?isPublicProxy : bool *
?isSatelliteProvider : bool *
?isTorExitNode : bool *
?isp : string *
?organization : string *
?userType : string
(* Defaults:
let _autonomousSystemNumber = defaultArg autonomousSystemNumber null
let _autonomousSystemOrganization = defaultArg autonomousSystemOrganization null
let _connectionType = defaultArg connectionType null
let _domain = defaultArg domain null
let _ipAddress = defaultArg ipAddress null
let _isAnonymous = defaultArg isAnonymous false
let _isAnonymousProxy = defaultArg isAnonymousProxy false
let _isAnonymousVpn = defaultArg isAnonymousVpn false
let _isHostingProvider = defaultArg isHostingProvider false
let _isLegitimateProxy = defaultArg isLegitimateProxy false
let _isPublicProxy = defaultArg isPublicProxy false
let _isSatelliteProvider = defaultArg isSatelliteProvider false
let _isTorExitNode = defaultArg isTorExitNode false
let _isp = defaultArg isp null
let _organization = defaultArg organization null
let _userType = defaultArg userType null
*)
-> Traits
Parameters
- autonomousSystemNumber (Optional)
- Type: SystemNullableInt64
- autonomousSystemOrganization (Optional)
- Type: SystemString
- connectionType (Optional)
- Type: SystemString
- domain (Optional)
- Type: SystemString
- ipAddress (Optional)
- Type: SystemString
- isAnonymous (Optional)
- Type: SystemBoolean
- isAnonymousProxy (Optional)
- Type: SystemBoolean
- isAnonymousVpn (Optional)
- Type: SystemBoolean
- isHostingProvider (Optional)
- Type: SystemBoolean
- isLegitimateProxy (Optional)
- Type: SystemBoolean
- isPublicProxy (Optional)
- Type: SystemBoolean
- isSatelliteProvider (Optional)
- Type: SystemBoolean
- isTorExitNode (Optional)
- Type: SystemBoolean
- isp (Optional)
- Type: SystemString
- organization (Optional)
- Type: SystemString
- userType (Optional)
- Type: SystemString
See Also