35 references to Settings
System.Web.DataVisualization (35)
WebForm\General\ChartHttpHandler.cs (35)
202if (Settings.StorageType == ChartHttpHandlerStorageType.File && _controllerFileStream == null)
211string controllerFileName = String.Format(CultureInfo.InvariantCulture, "{0}msc_cntr_{1}.txt", Settings.Directory, i);
217if (!Directory.Exists(Settings.Directory + _controllerDirectory))
219Directory.CreateDirectory(Settings.Directory + _controllerDirectory);
223TimeSpan lastWrite = DateTime.Now - Directory.GetLastWriteTime(Settings.Directory + _controllerDirectory);
224if (lastWrite.Seconds < Settings.Timeout.Seconds)
242throw new UnauthorizedAccessException(SR.ExceptionHttpHandlerTempDirectoryUnaccesible(Settings.Directory));
272if (Settings.StorageType == ChartHttpHandlerStorageType.Session || Settings.DeleteAfterServicing)
344return ChartHttpHandler.Settings.GetHandler();
415 if (!String.IsNullOrEmpty(_controllerDirectory) && String.IsNullOrEmpty(Settings.FolderName))
419return Settings.FolderName + rt.GetNextKey();
475IChartStorageHandler handler = Settings.GetHandler();
481Settings.FolderName = String.Empty;
498if (Settings.StorageType == ChartHttpHandlerStorageType.Session)
500IChartStorageHandler handler = ChartHttpHandler.Settings.GetHandler();
505if (item.InUse && String.CompareOrdinal(Settings.ReadSessionKey(), item.SessionID) == 0)
568settings.Add("StorageType", Settings.StorageType.ToString());
569settings.Add("TimeOut", Settings.Timeout.ToString());
570if (Settings.StorageType == ChartHttpHandlerStorageType.File)
572settings.Add("Directory", Settings.Directory);
574settings.Add("DeleteAfterServicing", Settings.DeleteAfterServicing.ToString());
575settings.Add("PrivateImages", Settings.PrivateImages.ToString());
576settings.Add("ImageOwnerKey", Settings.ImageOwnerKey.ToString());
577settings.Add("CustomHandlerName", Settings.CustomHandlerName);
578settings.Add(ChartHttpHandler.WebDevServerUseConfigSettings, String.Equals(Settings[ChartHttpHandler.WebDevServerUseConfigSettings], "true", StringComparison.OrdinalIgnoreCase).ToString());
1054throw new InvalidOperationException(SR.ExceptionHttpHandlerImageHandlerInterfaceUnsupported(ChartHttpHandler.Settings.HandlerType.FullName));
1462string sessionID = ChartHttpHandler.Settings.PrivacyKey;
1505ChartHttpHandlerSettings settings = ChartHttpHandler.Settings;
1559ChartHttpHandlerSettings settings = ChartHttpHandler.Settings;
1673ChartHttpHandlerSettings settings = ChartHttpHandler.Settings;
1706ChartHttpHandlerSettings settings = ChartHttpHandler.Settings;
1852this._current.Value.SessionID = ChartHttpHandler.Settings.ReadSessionKey();
1942RingTimeTracker result = new RingTimeTracker(ChartHttpHandler.Settings.Timeout, keyFormat,ChartHttpHandler.Settings.StorageType == ChartHttpHandlerStorageType.Session);