C# Class WykopSharpClient.Repository.EntryRepository

Inheritance: AbstractRepository, IEntryRepository
Mostra file Open project: adiospl/WykopSharp

Public Methods

Method Description
Add ( string body ) : Task
Add ( string body, ByteFile file ) : Task
Add ( string body, Uri embed ) : Task
AddComment ( int entryId, string body, Uri embed ) : Task
Delete ( int entryId ) : Task
DeleteComment ( int entryId, int entryCommentId ) : Task
Edit ( int entryId, string body ) : Task
EditComment ( int entryId, int entryCommentId, string body ) : Task
EntryRepository ( WykopSharpClient client ) : System
Favorite ( int entryId ) : Task
Index ( int entryId ) : Task
Unvote ( EntryType entryType, int entryId, int commentId ) : Task
Vote ( EntryType entryType, int entryId, int commentId ) : Task

Method Details

Add() public method

public Add ( string body ) : Task
body string
return Task

Add() public method

public Add ( string body, ByteFile file ) : Task
body string
file WykopSharp.ByteFile
return Task

Add() public method

public Add ( string body, Uri embed ) : Task
body string
embed System.Uri
return Task

AddComment() public method

public AddComment ( int entryId, string body, Uri embed ) : Task
entryId int
body string
embed System.Uri
return Task

Delete() public method

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

DeleteComment() public method

public DeleteComment ( int entryId, int entryCommentId ) : Task
entryId int
entryCommentId int
return Task

Edit() public method

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

EditComment() public method

public EditComment ( int entryId, int entryCommentId, string body ) : Task
entryId int
entryCommentId int
body string
return Task

EntryRepository() public method

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

Favorite() public method

public Favorite ( int entryId ) : Task
entryId int
return Task

Index() public method

public Index ( int entryId ) : Task
entryId int
return Task

Unvote() public method

public Unvote ( EntryType entryType, int entryId, int commentId ) : Task
entryType EntryType
entryId int
commentId int
return Task

Vote() public method

public Vote ( EntryType entryType, int entryId, int commentId ) : Task
entryType EntryType
entryId int
commentId int
return Task