Esempio n. 1
0
 public static void CreateBlogpostsViewModel()
 {
     if (_blogpostsViewModel == null)
     {
         _blogpostsViewModel = new BlogpostsViewModel();
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Provides a deterministic way to create the ViewModelPropertyName property.
 /// </summary>
 public static void CreateBlogpostsViewModel()
 {
     if (_blogpostsViewModel == null)
     {
         _blogpostsViewModel = new BlogpostsViewModel();
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Provides a deterministic way to delete the ViewModelPropertyName property.
 /// </summary>
 public static void ClearBlogpostsViewModel()
 {
     _blogpostsViewModel.Cleanup();
     _blogpostsViewModel = null;
 }
Esempio n. 4
0
 public static void ClearBlogpostsViewModel()
 {
     _blogpostsViewModel.Cleanup();
     _blogpostsViewModel = null;
 }