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