Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of StandbyManager.
 /// </summary>
 /// <param name="log"></param>
 internal StandbyManager(WsapmLog log)
 {
     this.log = log;
     this.currentPowerRequest    = IntPtr.Zero;
     this.powerRequestsSupported = CheckPowerAvailabilityRequestsSupported();
     this.standbySuspended       = false;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of WakeManager.
 /// </summary>
 /// <param name="log"></param>
 internal WakeManager(WsapmLog log)
 {
     this.log          = log;
     this.lastDueTime  = null;
     this.WakeTimerSet = false;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a new instance of NetworkManager.
 /// </summary>
 /// <param name="log"></param>
 internal NetworkManager(WsapmLog log)
 {
     this.log = log;
 }