Guest User

Untitled

a guest
Jul 17th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. public sealed class ReportProcessor: IReportProcessor
  2. {
  3. private static readonly Lazy<ReportProcessor> lazy =
  4. new Lazy<ReportProcessor>(() => new ReportProcessor());
  5.  
  6. public static ReportProcessor Instance { get { return lazy.Value; } }
  7.  
  8. private ReportProcessor()
  9. {
  10. try
  11. {
  12. this.RPROC = new ReportProcessing.ReportProcessing();
  13. }
  14. catch (System.Exception ex)
  15. {
  16.  
  17. }
  18. }
  19.  
  20. public ReportProcessing.ReportProcessing RPROC { get; }
  21.  
  22. public void LoadConfiguration(string path)
  23. {
  24. this.RPROC.LoadConfiguration(path);
  25. }
  26. }
Add Comment
Please, Sign In to add comment