public ShellWindow() { Logger.InfoLog("ShellWindow:: Constructor"); this.InitializeComponent(); objMainWindowViewModel = new ShellWindowViewModel(); this.DataContext = objMainWindowViewModel; }
public static ShellWindowViewModel Instance() { if (_Instance == null) { lock (mLock) { if (_Instance == null) { _Instance = new ShellWindowViewModel(); } } } return _Instance; }
public static ShellWindowViewModel Instance() { if (_Instance == null) { lock (mLock) { if (_Instance == null) { _Instance = new ShellWindowViewModel(); } } } return(_Instance); }