/// <summary>
 /// Initializes a new instance of the <see cref="NetworkObserver"/> class.
 /// </summary>
 public NetworkObserver(FabricClient fabricClient, StatelessServiceContext context)
     : base(fabricClient, context)
 {
     configSettings       = new MachineInfoModel.ConfigSettings(FabricServiceContext);
     this.dataPackagePath = configSettings.ConfigPackagePath;
     this.stopwatch       = new Stopwatch();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AppObserver"/> class.
 /// </summary>
 public AppObserver(FabricClient fabricClient, StatelessServiceContext context)
     : base(fabricClient, context)
 {
     configSettings                  = new MachineInfoModel.ConfigSettings(FabricServiceContext);
     ConfigPackagePath               = configSettings.ConfigPackagePath;
     this.userTargetList             = new List <ApplicationInfo>();
     this.deployedTargetList         = new List <ApplicationInfo>();
     this.AllAppCpuData              = new List <FabricResourceUsageData <double> >();
     this.AllAppMemDataMb            = new List <FabricResourceUsageData <float> >();
     this.AllAppMemDataPercent       = new List <FabricResourceUsageData <double> >();
     this.AllAppTotalActivePortsData = new List <FabricResourceUsageData <int> >();
     this.AllAppEphemeralPortsData   = new List <FabricResourceUsageData <int> >();
     this.stopwatch                  = new Stopwatch();
 }