AP&C API Reference
Public Member Functions | Properties | List of all members
Apac.Licensing.SerializableKeyValuePair< K, V > Struct Template Reference

A wrapper around KeyValuePair (because KVP properties are read-only and cannot be serialized using XML). More...

Public Member Functions

 SerializableKeyValuePair (KeyValuePair< K, V > kvp)
 Instantiates a new serializable KeyValuePair from a read-only KeyValuePair. More...
 

Properties

Key [get, set]
 Gets or sets the key. More...
 
Value [get, set]
 Gets or sets the value. More...
 

Detailed Description

A wrapper around KeyValuePair (because KVP properties are read-only and cannot be serialized using XML).

Template Parameters
KThe type used for the key in the pair.
VThe type used for the value in the pair.

Constructor & Destructor Documentation

◆ SerializableKeyValuePair()

Apac.Licensing.SerializableKeyValuePair< K, V >.SerializableKeyValuePair ( KeyValuePair< K, V >  kvp)
inline

Instantiates a new serializable KeyValuePair from a read-only KeyValuePair.

Parameters
kvp

Property Documentation

◆ Key

Gets or sets the key.

The key.

◆ Value

Gets or sets the value.

The value.


The documentation for this struct was generated from the following file: