C# Class WykopSharpClient.Repository.CommentRepository

Inheritance: AbstractRepository, ICommentRepository
Exibir arquivo Open project: adiospl/WykopSharp

Public Methods

Method Description
Add ( string body, ByteFile file, int linkId, int precedentCommentId = -1 ) : Task
Add ( string body, Uri embed, int linkId, int precedentCommentId = -1 ) : Task
Add ( string body, int linkId, int precedentCommentId = -1 ) : Task
CommentRepository ( WykopSharpClient client ) : System
Delete ( int commentId ) : Task
Edit ( string body, int commentId ) : Task
Minus ( int linkId, int commentId ) : Task
Plus ( int linkId, int commentId ) : Task

Method Details

Add() public method

public Add ( string body, ByteFile file, int linkId, int precedentCommentId = -1 ) : Task
body string
file WykopSharp.ByteFile
linkId int
precedentCommentId int
return Task

Add() public method

public Add ( string body, Uri embed, int linkId, int precedentCommentId = -1 ) : Task
body string
embed System.Uri
linkId int
precedentCommentId int
return Task

Add() public method

public Add ( string body, int linkId, int precedentCommentId = -1 ) : Task
body string
linkId int
precedentCommentId int
return Task

CommentRepository() public method

public CommentRepository ( WykopSharpClient client ) : System
client WykopSharpClient
return System

Delete() public method

public Delete ( int commentId ) : Task
commentId int
return Task

Edit() public method

public Edit ( string body, int commentId ) : Task
body string
commentId int
return Task

Minus() public method

public Minus ( int linkId, int commentId ) : Task
linkId int
commentId int
return Task

Plus() public method

public Plus ( int linkId, int commentId ) : Task
linkId int
commentId int
return Task