C# Class EventSourcing.Sample.ForumSample.ThreadService

Inheritance: IThreadService
Mostrar archivo Open project: tangxuehua/eventsourcing

Public Methods

Method Description
CancelStick ( System.Guid id ) : void
ChangeContent ( System.Guid id, string subject, string body, int marks ) : void
Close ( System.Guid id ) : void
Create ( string subject, string body, System.Guid forumId, System.Guid authorId, int marks ) : System.Thread
MarkAsDeleted ( System.Guid id ) : void
MarkAsRecommended ( System.Guid id ) : void
Stick ( System.Guid id ) : void
ThreadService ( IContextManager contextManager ) : System
UnMarkAsRecommended ( System.Guid id ) : void

Method Details

CancelStick() public method

public CancelStick ( System.Guid id ) : void
id System.Guid
return void

ChangeContent() public method

public ChangeContent ( System.Guid id, string subject, string body, int marks ) : void
id System.Guid
subject string
body string
marks int
return void

Close() public method

public Close ( System.Guid id ) : void
id System.Guid
return void

Create() public method

public Create ( string subject, string body, System.Guid forumId, System.Guid authorId, int marks ) : System.Thread
subject string
body string
forumId System.Guid
authorId System.Guid
marks int
return System.Thread

MarkAsDeleted() public method

public MarkAsDeleted ( System.Guid id ) : void
id System.Guid
return void

MarkAsRecommended() public method

public MarkAsRecommended ( System.Guid id ) : void
id System.Guid
return void

Stick() public method

public Stick ( System.Guid id ) : void
id System.Guid
return void

ThreadService() public method

public ThreadService ( IContextManager contextManager ) : System
contextManager IContextManager
return System

UnMarkAsRecommended() public method

public UnMarkAsRecommended ( System.Guid id ) : void
id System.Guid
return void