ConfigConst.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Dongke.IBOSS.PRD.WCF.Hosting
  6. {
  7. public static class ConfigConst
  8. {
  9. private static string m_StartupPath; //文件安装路径
  10. private static bool m_LogControl; //日志文件软开关控制 True进行记录 False不进行记录
  11. private static string m_LogFileName; //记录日志信息的文件名
  12. private static string m_ConfigFileName; //配置文件名称
  13. /// <summary>
  14. /// 系统安装目录
  15. /// </summary>
  16. public static string StartupPath
  17. {
  18. get { return m_StartupPath; }
  19. set { m_StartupPath = value; }
  20. }
  21. /// <summary>
  22. /// 日志文件软开关控制 True进行记录 False不进行记录
  23. /// </summary>
  24. public static bool LogControl
  25. {
  26. get { return m_LogControl; }
  27. set { m_LogControl = value; }
  28. }
  29. /// <summary>
  30. /// 记录日志信息的文件名称
  31. /// </summary>
  32. public static string LogFileName
  33. {
  34. get { return m_LogFileName; }
  35. set { m_LogFileName = value; }
  36. }
  37. /// <summary>
  38. /// 配置文件名称
  39. /// </summary>
  40. public static string ConfigFileName
  41. {
  42. get { return m_ConfigFileName; }
  43. set { m_ConfigFileName = value; }
  44. }
  45. }
  46. }