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