public MainWindow() { InitializeComponent(); facade = new Facade(ImageSourceManager.GetInstance(this), AzureImageState.GetInstance(this), DetectFacesOnImage.GetInstance(this)); }
public VideoSource(MainWindow mainWindow) { _mainWindow = mainWindow; identifyFaces = DetectFacesOnImage.GetInstance(mainWindow); }
public Facade(ImageSourceManager _imageSourceManager, AzureImageState _azureImageState, DetectFacesOnImage _identifyFaces) { imageSourceManager = _imageSourceManager; azureImageState = _azureImageState; identifyFaces = _identifyFaces; }