Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public sealed class ReportProcessor: IReportProcessor
- {
- private static readonly Lazy<ReportProcessor> lazy =
- new Lazy<ReportProcessor>(() => new ReportProcessor());
- public static ReportProcessor Instance { get { return lazy.Value; } }
- private ReportProcessor()
- {
- try
- {
- this.RPROC = new ReportProcessing.ReportProcessing();
- }
- catch (System.Exception ex)
- {
- }
- }
- public ReportProcessing.ReportProcessing RPROC { get; }
- public void LoadConfiguration(string path)
- {
- this.RPROC.LoadConfiguration(path);
- }
- }
Add Comment
Please, Sign In to add comment