C# Class EventSourcing.Sample.ForumSample.ThreadService

Inheritance: IThreadService
Afficher le fichier Open project: tangxuehua/eventsourcing

Méthodes publiques

Méthode 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 méthode

public CancelStick ( System.Guid id ) : void
id System.Guid
Résultat void

ChangeContent() public méthode

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

Close() public méthode

public Close ( System.Guid id ) : void
id System.Guid
Résultat void

Create() public méthode

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
Résultat System.Thread

MarkAsDeleted() public méthode

public MarkAsDeleted ( System.Guid id ) : void
id System.Guid
Résultat void

MarkAsRecommended() public méthode

public MarkAsRecommended ( System.Guid id ) : void
id System.Guid
Résultat void

Stick() public méthode

public Stick ( System.Guid id ) : void
id System.Guid
Résultat void

ThreadService() public méthode

public ThreadService ( IContextManager contextManager ) : System
contextManager IContextManager
Résultat System

UnMarkAsRecommended() public méthode

public UnMarkAsRecommended ( System.Guid id ) : void
id System.Guid
Résultat void