PageRenderTime 58ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/MSBuild/Microsoft/Build/CommandLine/DistributedLoggerRecord.cs

#
C# | 35 lines | 30 code | 5 blank | 0 comment | 0 complexity | 0116493ac181be3019daa6f218cb1677 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-3.0
  1. namespace Microsoft.Build.CommandLine
  2. {
  3. using Microsoft.Build.Framework;
  4. using Microsoft.Build.Logging;
  5. using System;
  6. internal class DistributedLoggerRecord
  7. {
  8. private ILogger centralLogger;
  9. private LoggerDescription forwardingLoggerDescription;
  10. internal DistributedLoggerRecord(ILogger centralLogger, LoggerDescription forwardingLoggerDescription)
  11. {
  12. this.centralLogger = centralLogger;
  13. this.forwardingLoggerDescription = forwardingLoggerDescription;
  14. }
  15. internal ILogger CentralLogger
  16. {
  17. get
  18. {
  19. return this.centralLogger;
  20. }
  21. }
  22. internal LoggerDescription ForwardingLoggerDescription
  23. {
  24. get
  25. {
  26. return this.forwardingLoggerDescription;
  27. }
  28. }
  29. }
  30. }