Ejemplo n.º 1
0
 public ConnectionManager(IPreferences preferences, IPowerManager powerManager, IConnectionInfo connectionInfo, IBlackoutTime blackoutTime)
 {
     Preferences = preferences;
     PowerManager = powerManager;
     ConnectionInfo = connectionInfo;
     BlackoutTime = blackoutTime;
 }
Ejemplo n.º 2
0
 private bool CanSendNow(IBlackoutTime blackoutTime, string range)
 {
     return blackoutTime.CanSendAtTime(System.DateTime.Now, range);
 }