コード例 #1
0
 /// <summary>
 /// Create a new blog entry
 /// </summary>
 public static BlogEntry CreateBlogEntry(ControllerFactory controllerFactory)
 {
     var blogController = controllerFactory.GetBlogController();
     var blogEntryToCreate = BlogEntryFactory.Get();
     blogController.Create(blogEntryToCreate);
     return blogEntryToCreate;
 }
コード例 #2
0
 public void Initialize()
 {
     _controllerFactory = new ControllerFactory();
     _commentController = _controllerFactory.GetCommentController();
 }
コード例 #3
0
 public void Initialize()
 {
     _controllerFactory = new ControllerFactory();
     _archiveController = _controllerFactory.GetArchiveController();
 }
コード例 #4
0
 public void Initialize()
 {
     _controllerFactory = new ControllerFactory();
     _applicationController = _controllerFactory.GetApplicationController();
 }
コード例 #5
0
 public void Initialize()
 {
     _controllerFactory = new ControllerFactory();
     _blogController = _controllerFactory.GetBlogController();
 }