Example #1
0
 public IAFCHandBookCommentModel()
 {
     Likes              = new IAFCHandBookLikesModel();
     Author             = new IAFCHandBookUserModel();
     RepliedComments    = new List <IAFCHandBookCommentModel>();
     RelpyButtonPressed = false;
     UserAuthorized     = IsUserAuthorized();
 }
Example #2
0
 public IAFCHandBookResourceModel()
 {
     IsResourceAddedToMyHandBook = false;
     Comments         = new List <IAFCHandBookCommentModel>();
     Likes            = new IAFCHandBookLikesModel();
     ResourceDetails  = new IAFCHandBookResourceDetailsModel();
     MoreResources    = new List <IAFCHandBookMoreResourcesModel>();
     IsUserAuthorized = false;
 }
Example #3
0
 public IAFCHandBookCommentModel(string commentTitle, string сommentText, DateTime dateCreated, IAFCHandBookUserModel author)
 {
     CommentTitle       = commentTitle;
     CommentText        = сommentText;
     DateCreated        = dateCreated;
     Author             = author;
     Likes              = new IAFCHandBookLikesModel();
     RepliedComments    = new List <IAFCHandBookCommentModel>();
     RelpyButtonPressed = false;
     UserAuthorized     = IsUserAuthorized();
 }
Example #4
0
 public IAFCHandBookResourceModel(Guid id, string resourceTitle, DateTime dateCreated)
 {
     Id            = id;
     ResourceTitle = resourceTitle;
     DateCreated   = dateCreated;
     IsResourceAddedToMyHandBook = false;
     IsResourceCompleted         = false;
     Comments         = new List <IAFCHandBookCommentModel>();
     Likes            = new IAFCHandBookLikesModel();
     ResourceDetails  = new IAFCHandBookResourceDetailsModel();
     MoreResources    = new List <IAFCHandBookMoreResourcesModel>();
     IsUserAuthorized = false;
 }
 public IAFCHandBookMoreResourcesModel()
 {
     Likes           = new IAFCHandBookLikesModel();
     ResourceDetails = new IAFCHandBookResourceDetailsModel();
 }