public StyleSheetSelectionPageViewModelTests()
 {
     Services = new MockAppServiceProvider();
     Services.MockStyleSheets.GetAllStyleSheetsReturnValue = new List <CSS>()
     {
         new CSS()
     };
     ViewModel = new CssSelectionPageViewModel(Services);
     ViewModel.ApplyQueryAttributes(new Dictionary <string, string>());
 }
Пример #2
0
 public CssSelectionPage()
 {
     InitializeComponent();
     BindingContext = new CssSelectionPageViewModel(AppServiceProvider.Instance);
 }