Photon Plugins API Documentation v5.0RC1

Public Member Functions | Public Attributes | Properties | Events | List of all members
Photon.Hive.Plugin.Property< TKey > Class Template Reference

The property. More...

Public Member Functions

 Property (TKey key, object value)
 Initializes a new instance of the Property<TKey> class. More...
 
 Property (TKey key, object value, int keySize, int valueSize)
 

Public Attributes

int TotalSize => this.KeySize + this.ValueSize
 

Properties

TKey Key [get]
 Gets Key. More...
 
object Value [get, set]
 Gets or sets Value. More...
 
int KeySize [get]
 
int ValueSize [get, set]
 

Events

EventHandler PropertyChanged
 The property changed. More...
 

Detailed Description

The property.

Template Parameters
TKeyThe property key type.

Constructor & Destructor Documentation

◆ Property() [1/2]

Photon.Hive.Plugin.Property< TKey >.Property ( TKey  key,
object  value 
)
inline

Initializes a new instance of the Property<TKey> class.

Parameters
keyThe key.
valueThe value.

◆ Property() [2/2]

Photon.Hive.Plugin.Property< TKey >.Property ( TKey  key,
object  value,
int  keySize,
int  valueSize 
)
inline

Member Data Documentation

◆ TotalSize

int Photon.Hive.Plugin.Property< TKey >.TotalSize => this.KeySize + this.ValueSize

Property Documentation

◆ Key

TKey Photon.Hive.Plugin.Property< TKey >.Key
get

Gets Key.

◆ KeySize

int Photon.Hive.Plugin.Property< TKey >.KeySize
get

◆ Value

object Photon.Hive.Plugin.Property< TKey >.Value
getset

Gets or sets Value.

◆ ValueSize

int Photon.Hive.Plugin.Property< TKey >.ValueSize
getset

Event Documentation

◆ PropertyChanged

EventHandler Photon.Hive.Plugin.Property< TKey >.PropertyChanged

The property changed.