/// <summary> /// Creates the quick filter. /// </summary> /// <param name="quickFilter">The quick filter.</param> /// <param name="quickFilterList">The quick filter list.</param> /// <param name="index">The index.</param> /// <param name="isDefault">if set to <c>true</c> [is default].</param> /// <returns>IQuickFilterViewModel.</returns> public IQuickFilterViewModel CreateQuickFilter(QuickFilters quickFilter, IQuickFilterList quickFilterList, int? index, bool isDefault = false) { var quickFilterVM = new QuickFilterViewModel(quickFilter, quickFilterList, index, isDefault); DeploymentService.Container.SatisfyImportsOnce(quickFilterVM); return quickFilterVM; }
public void PropertiesTest() { var vm = new QuickFilterViewModel(Mock.Create<QuickFilters>(), Mock.Create<IQuickFilterList>(), null); TestsHelper.TestPublicDeclaredPropertiesGetSet(vm, true); }