Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | Public Member Functions | Protected fields | List of all members
Loyc.HashTags< ValueT > Class Template Reference

An implementation of IAttributes that can hold one attribute before allocating any memory for a hashtable. It is intended to be used as a base class but can be used on its own. More...


Source file:
Inheritance diagram for Loyc.HashTags< ValueT >:
Loyc.ITags< T >

Remarks

An implementation of IAttributes that can hold one attribute before allocating any memory for a hashtable. It is intended to be used as a base class but can be used on its own.

Properties

IDictionary< Symbol, ValueT > Tags [get]
 
int TagCount [get]
 
- Properties inherited from Loyc.ITags< T >
IDictionary< Symbol, T > Tags [get]
 Returns a dictionary that can be used to store additional state beyond the standard content of the object. More...
 

Public Member Functions

 HashTags (HashTags< ValueT > original)
 
ValueT GetTag (string key)
 
ValueT GetTag (Symbol key)
 
void SetTag (string key, ValueT val)
 
void SetTag (Symbol key, ValueT val)
 
bool RemoveTag (string key)
 
bool RemoveTag (Symbol key)
 
bool HasTag (string key)
 
bool HasTag (Symbol key)
 

Protected fields

Symbol _cachedAttrKey
 
ValueT _cachedAttrValue
 
Dictionary< Symbol, ValueT > _attrs