PreEmptive Analytics .NET API  1.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | List of all members
PreEmptive.Analytics.Common.IFeatureGroupDictionary Interface Reference

A thread-safe dictionary/stack-ish collection for storing and retrieving feature groups More...

Inherited by PreEmptive.Analytics.Common.LockingFeatureGroupDictionary.

Public Member Functions

FeatureGroup TryRemove (string name, string partitionid, out bool foundpartition)
 Will try to lookup a value by given name and partitionid. If partition id isn't found, then set foundpartition to false and will just return the last feature group added by the name. If nothing is found by the name, return null More...
 
void Add (string name, FeatureGroup adder)
 Add a feature group by the name name. More...
 

Detailed Description

A thread-safe dictionary/stack-ish collection for storing and retrieving feature groups

Member Function Documentation

void PreEmptive.Analytics.Common.IFeatureGroupDictionary.Add ( string  name,
FeatureGroup  adder 
)

Add a feature group by the name name.

Parameters
nameThen name of the feature group.
adderThe feature group to add.

Implemented in PreEmptive.Analytics.Common.LockingFeatureGroupDictionary.

FeatureGroup PreEmptive.Analytics.Common.IFeatureGroupDictionary.TryRemove ( string  name,
string  partitionid,
out bool  foundpartition 
)

Will try to lookup a value by given name and partitionid. If partition id isn't found, then set foundpartition to false and will just return the last feature group added by the name. If nothing is found by the name, return null

Parameters
nameThe name of the feature.
partitionidThe ID of the partition the feature is a part of.
foundpartitionIf the partition was found.
Returns
The FeatureGroup that was found.

Implemented in PreEmptive.Analytics.Common.LockingFeatureGroupDictionary.


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