public MainWindow() { InitializeComponent(); facade = new Facade(ImageSourceManager.GetInstance(this), AzureImageState.GetInstance(this), DetectFacesOnImage.GetInstance(this)); }
public static AzureImageState GetInstance(MainWindow mainWindow) { if (instance == null) { instance = new AzureImageState(mainWindow); } return(instance); }