C# Class TubeGuardian.clsStatMonger

Mostrar archivo Open project: joshgoodwin/TubeGuardian Class Usage Examples

Public Methods

Method Description
AddAccount ( clsCredentials Account ) : void
AddDataset ( List InitialDataset, Dictionary HistoricalData ) : void
Disable ( ) : void
Enable ( ) : void
GetVideosByUsername ( string username ) : List
LoadDataFile ( string LogFileContents ) : void
RemoveAccount ( clsCredentials Account ) : void
Update ( ) : void
clsStatMonger ( string DataFile ) : System
clsStatMonger ( string DeveloperKey, string ApplicationName, List Credentials, clsSettings settings ) : System

Private Methods

Method Description
_GetEntryByIdFromList ( List Entries, string VideoID ) : clsVideoEntry
_compare_entities ( clsVideoEntry e_adding, clsVideoEntry e_init ) : List
_compare_entries ( clsVideoEntry OldEntry, clsVideoEntry NewEntry ) : void
_compare_stat ( double Old, double New, clsDataPointField Field, clsVideoEntry Entry ) : void
_entry_added ( clsVideoEntry Entry ) : void
_entry_updated ( clsDataPoint DataPoint, clsVideoEntry Entry ) : void
_feed_reader_exception ( object sender, string exception ) : void
_feed_reader_updated ( object sender, clsVideoFeedReader status ) : void
_new_youtube_entry ( string title, double views, double raters, double favs, double avgR, double comments ) : Google.GData.YouTube.YouTubeEntry
_remove_duplicates ( List input ) : List
_settings_OnAccountAdded ( object sender, clsCredentials Account ) : void
_settings_OnAccountRemoved ( object sender, clsCredentials Account ) : void
_sort_historical_data ( ) : void
_update_timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
_update_videos ( ) : void
new_feed_OnEntryFetched ( object Sender, clsVideoEntry Entry ) : void
new_feed_OnException ( object Sender, Exception e ) : void
new_feed_OnStatusChange ( object Sender, clsVideoFeedReader NewState ) : void

Method Details

AddAccount() public method

public AddAccount ( clsCredentials Account ) : void
Account clsCredentials
return void

AddDataset() public method

public AddDataset ( List InitialDataset, Dictionary HistoricalData ) : void
InitialDataset List
HistoricalData Dictionary
return void

Disable() public method

public Disable ( ) : void
return void

Enable() public method

public Enable ( ) : void
return void

GetVideosByUsername() public method

public GetVideosByUsername ( string username ) : List
username string
return List

LoadDataFile() public method

public LoadDataFile ( string LogFileContents ) : void
LogFileContents string
return void

RemoveAccount() public method

public RemoveAccount ( clsCredentials Account ) : void
Account clsCredentials
return void

Update() public method

public Update ( ) : void
return void

clsStatMonger() public method

public clsStatMonger ( string DataFile ) : System
DataFile string
return System

clsStatMonger() public method

public clsStatMonger ( string DeveloperKey, string ApplicationName, List Credentials, clsSettings settings ) : System
DeveloperKey string
ApplicationName string
Credentials List
settings clsSettings
return System