CenterServiceConnectionService.cs 671 B

1234567891011121314151617181920
  1. namespace IES.ExamServer.DI
  2. {
  3. public class CenterServiceConnectionService
  4. {
  5. private bool _centerIsConnected;
  6. private bool _notifyIsConnected;
  7. public string? centerUrl { get; set; }
  8. public string? notifyUrl { get; set; }
  9. public bool notifyIsConnected
  10. {
  11. get { return string.IsNullOrWhiteSpace(notifyUrl) ? false : _notifyIsConnected; }
  12. set { _notifyIsConnected = value; }
  13. }
  14. public bool centerIsConnected
  15. {
  16. get { return string.IsNullOrWhiteSpace(centerUrl) ? false : _centerIsConnected; }
  17. set { _centerIsConnected = value; }
  18. }
  19. }
  20. }