C# 클래스 GSoft.Dynamite.Examples.ViewModels.WallViewModel

View model for the Wall web part
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010

공개 메소드들

메소드 설명
AddPost ( string message ) : WallPost

Creates a new post on the wall

AddReply ( string message, int parentPostId ) : WallReply

Creates a new reply to a wall post

WallViewModel ( IWallPostRepository wallPostRepository, IWallReplyRepository wallReplyRepository, ITaxonomyService taxonomyService, IResourceLocator resourceLocator, ILogger log ) : System

Constructor to inject the view model dependencies

비공개 메소드들

메소드 설명
AddTags ( string message, TaxonomyValueCollection taxonomyValueCollection ) : void

메소드 상세

AddPost() 공개 메소드

Creates a new post on the wall
public AddPost ( string message ) : WallPost
message string Text content of the post
리턴 GSoft.Dynamite.Examples.Entities.WallPost

AddReply() 공개 메소드

Creates a new reply to a wall post
public AddReply ( string message, int parentPostId ) : WallReply
message string Text content of the reply
parentPostId int Id of the parent post
리턴 GSoft.Dynamite.Examples.Entities.WallReply

WallViewModel() 공개 메소드

Constructor to inject the view model dependencies
public WallViewModel ( IWallPostRepository wallPostRepository, IWallReplyRepository wallReplyRepository, ITaxonomyService taxonomyService, IResourceLocator resourceLocator, ILogger log ) : System
wallPostRepository IWallPostRepository Wall post data access
wallReplyRepository IWallReplyRepository Wall reply data access
taxonomyService ITaxonomyService Taxonomy service
resourceLocator IResourceLocator Resource utility
log ILogger Logging utility
리턴 System