Config.Core.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. namespace FastReport.Utils
  2. {
  3. static partial class Config
  4. {
  5. #region Public Properties
  6. /// <summary>
  7. /// Gets a value indicating that the ASP.NET hosting permission level is set to full trust.
  8. /// </summary>
  9. public static bool FullTrust
  10. {
  11. get
  12. {
  13. return true;
  14. }
  15. }
  16. /// <summary>
  17. /// Gets a value that determines whether to disable some functionality to run in web mode.
  18. /// </summary>
  19. /// <remarks>
  20. /// Use this property if you use FastReport in ASP.Net. Set this property to <b>true</b> <b>before</b>
  21. /// you access any FastReport.Net objects.
  22. /// </remarks>
  23. public static bool WebMode
  24. {
  25. get
  26. {
  27. return FWebMode;
  28. }
  29. set
  30. {
  31. FWebMode = value;
  32. }
  33. }
  34. #endregion Public Properties
  35. #region Private Methods
  36. /// <summary>
  37. /// Does nothing
  38. /// </summary>
  39. static partial void RestoreUIStyle();
  40. /// <summary>
  41. /// Does nothing
  42. /// </summary>
  43. static partial void SaveUIStyle();
  44. static partial void SaveUIOptions();
  45. static partial void RestoreUIOptions();
  46. static partial void SaveExportOptions();
  47. static partial void SaveAuthServiceUser();
  48. static partial void RestoreAuthServiceUser();
  49. static partial void RestoreExportOptions();
  50. #endregion Private Methods
  51. internal static void DoEvent()
  52. {
  53. // do nothing
  54. }
  55. }
  56. }