예제 #1
0
        public MainWindow()
        {
            InitializeComponent();

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