Метод | Описание | |
---|---|---|
AddPost ( string message ) : |
Creates a new post on the wall
|
|
AddReply ( string message, int parentPostId ) : |
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 |
public AddPost ( string message ) : |
||
message | string | Text content of the post |
Результат |
public AddReply ( string message, int parentPostId ) : |
||
message | string | Text content of the reply |
parentPostId | int | Id of the parent post |
Результат |
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 |