Greet 2014
Documentation for the GREET 2014 API
 All Classes Namespaces Functions Variables Enumerations Properties Events
Greet.ConvenienceLib.Convenience.IDs Class Reference

Contains sets of methods to create IDs More...

Static Public Member Functions

static int GetIdUnused (IEnumerable< int > ids, int starting_value=0)
 Gets the first ID starting from starting_value that is not in the array of ids More...
 
static int GetIdUnusedFromTimeStamp (IEnumerable< int > keyCollection)
 Gets the first ID starting from DateTime.Now that is not in the array of ids More...
 
static long GetIdUnusedFromTimeStampMillisecond (IEnumerable< long > keyCollection)
 Gets the first ID starting from DateTime.Now that is not in the array of ids More...
 
static long GetIdUnusedLong (IEnumerable< long > ids, long starting_value=0)
 Gets the first ID starting from starting_value that is not in the array of ids More...
 

Detailed Description

Contains sets of methods to create IDs

Member Function Documentation

static int Greet.ConvenienceLib.Convenience.IDs.GetIdUnused ( IEnumerable< int >  ids,
int  starting_value = 0 
)
static

Gets the first ID starting from starting_value that is not in the array of ids

David Dieffenthaler

Parameters
ids
starting_value
Returns
static int Greet.ConvenienceLib.Convenience.IDs.GetIdUnusedFromTimeStamp ( IEnumerable< int >  keyCollection)
static

Gets the first ID starting from DateTime.Now that is not in the array of ids

David Dieffenthaler

Parameters
keyCollection
Returns
static long Greet.ConvenienceLib.Convenience.IDs.GetIdUnusedFromTimeStampMillisecond ( IEnumerable< long >  keyCollection)
static

Gets the first ID starting from DateTime.Now that is not in the array of ids

David Dieffenthaler

Parameters
keyCollection
Returns
static long Greet.ConvenienceLib.Convenience.IDs.GetIdUnusedLong ( IEnumerable< long >  ids,
long  starting_value = 0 
)
static

Gets the first ID starting from starting_value that is not in the array of ids

David Dieffenthaler

Parameters
ids
starting_value
Returns

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