Sharpility
Sharpility.Collections.CompositeKey< TPrimaryKey, TSecondaryKey > Struct Template Reference

Key consisting of primary and secondary key. More...

List of all members.

Public Member Functions

 CompositeKey (TPrimaryKey primary, TSecondaryKey secondary)
 Created composite key.
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()

Properties

TPrimaryKey Primary [get, set]
 Primary key value.
TSecondaryKey Secondary [get, set]
 Secondary key value.

Detailed Description

template<TPrimaryKey, TSecondaryKey>
struct Sharpility::Collections::CompositeKey< TPrimaryKey, TSecondaryKey >

Key consisting of primary and secondary key.

Template Parameters:
TPrimaryKeyType of primary key
TSecondaryKeyType of secondary key

Member Function Documentation

template<TPrimaryKey , TSecondaryKey >
Sharpility.Collections.CompositeKey< TPrimaryKey, TSecondaryKey >.CompositeKey ( TPrimaryKey  primary,
TSecondaryKey  secondary 
) [inline]

Created composite key.

Parameters:
primaryPrimary key value
secondarySecondary key value

Property Documentation

template<TPrimaryKey , TSecondaryKey >
TPrimaryKey Sharpility.Collections.CompositeKey< TPrimaryKey, TSecondaryKey >.Primary [get, set]

Primary key value.

template<TPrimaryKey , TSecondaryKey >
TSecondaryKey Sharpility.Collections.CompositeKey< TPrimaryKey, TSecondaryKey >.Secondary [get, set]

Secondary key value.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Enumerations Properties