示例#1
0
 public PostsViewModel()
 {
     wpService        = new WordPressService();
     Title            = "Posts";
     Items            = new ObservableCollection <Post>();
     LoadItemsCommand = new Command(async() => await ExecuteLoadItemsCommand());
 }
 public TutorialController(WordPressService wordPressService)
 {
     this.wordPressService = wordPressService;
 }
示例#3
0
 public HomeController(WordPressService wordPressService, SiteConfig siteConfig)
 {
     this.siteConfig       = siteConfig;
     this.wordPressService = wordPressService;
 }
示例#4
0
 public NewsController(WordPressService wordPresService)
 {
     this.wordPresService = wordPresService;
 }