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

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