예제 #1
0
 public PerfViewModel()
 {
     if (System.ComponentModel.LicenseManager.UsageMode == LicenseUsageMode.Designtime)
     {
         ConfusionMatrix = new GeneralConfusionMatrix(10, new int[100], new int[100]);
         ConfusionView   = new ConfusionMatrixView(ConfusionMatrix);
     }
 }
예제 #2
0
 public PerfViewModel(GeneralConfusionMatrix matrix)
 {
     ConfusionMatrix = matrix;
     ConfusionView   = new ConfusionMatrixView(matrix);
 }