Beispiel #1
0
        public MainWindow()
        {
            var errorManager = (IErrorManager)GUIErrorManager.GetInstance();

            Lookup.GetInstance().Register(typeof(IErrorManager), errorManager);
            InitializeComponent();
        }
Beispiel #2
0
 public static IErrorManager GetInstance()
 {
     return(_instance ?? (_instance = new GUIErrorManager()));
 }