Skip to content

SmartIPNetworkTypeHandler ​

Namespace: MJCZone.DapperMatic.TypeMapping.Handlers

Assembly: MJCZone.DapperMatic

Summary ​

Smart type handler for System.Net.IPNetwork with provider-specific optimization. PostgreSQL: Native cidr type, which Npgsql 10 and later read as IPNetwork Others: String serialization (CIDR notation like "192.168.0.0/24")

Inheritance ​

Base Class: TypeHandler

public

Contents ​

Constructors (1) | Methods (6)

Constructors ​

SmartIPNetworkTypeHandler ​

csharp
SmartIPNetworkTypeHandler()

Methods ​

MethodSummary
SetValue
Parse
GetType
ToString
Equals
GetHashCode

SetValue ​

csharp
void SetValue()

Parse ​

csharp
IPNetwork Parse()

Returns ​

Type: IPNetwork

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()