C# Class Artemis.Modules.Effects.WindowsProfile.WindowsProfileModel

Inheritance: Artemis.Models.EffectModel
显示文件 Open project: SpoinkyNL/Artemis Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Enable ( ) : void
GetOverallPerformanceCounter ( ) : PerformanceCounter
GetPerformanceCounters ( ) : List
GetRenderLayers ( bool keyboardOnly ) : List
SetupSpotify ( ) : void
Update ( ) : void
UpdateSpotify ( WindowsProfileDataModel dataModel ) : void
WindowsProfileModel ( ILogger logger, MainManager mainManager ) : System

Private Methods

Method Description
SetupCpu ( ) : void
UpdateCpu ( WindowsProfileDataModel dataModel ) : void
UpdateDay ( WindowsProfileDataModel dataModel ) : void
UpdateSpotifyPlayState ( object sender, SpotifyAPI.Local.PlayStateEventArgs e ) : void
UpdateSpotifyTrack ( object sender, SpotifyAPI.Local.TrackChangeEventArgs e ) : void
UpdateSpotifyTrackTime ( object sender, SpotifyAPI.Local.TrackTimeChangeEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Enable() public method

public Enable ( ) : void
return void

GetOverallPerformanceCounter() public static method

public static GetOverallPerformanceCounter ( ) : PerformanceCounter
return System.Diagnostics.PerformanceCounter

GetPerformanceCounters() public static method

public static GetPerformanceCounters ( ) : List
return List

GetRenderLayers() public method

public GetRenderLayers ( bool keyboardOnly ) : List
keyboardOnly bool
return List

SetupSpotify() public method

public SetupSpotify ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateSpotify() public method

public UpdateSpotify ( WindowsProfileDataModel dataModel ) : void
dataModel WindowsProfileDataModel
return void

WindowsProfileModel() public method

public WindowsProfileModel ( ILogger logger, MainManager mainManager ) : System
logger ILogger
mainManager Artemis.Managers.MainManager
return System