C# 클래스 EventSourcing.Sample.BookBorrowAndReturn.BookService

상속: IBookService
파일 보기 프로젝트 열기: tangxuehua/eventsourcing

공개 메소드들

메소드 설명
AddBookToLibrary ( System.Guid bookId, int count, System.Guid libraryId ) : void
BookService ( IContextManager contextManager ) : System
BorrowBook ( System.Guid bookId, System.Guid accountId, System.Guid libraryId, int count ) : void
CreateBook ( BookInfo bookInfo ) : Book
ReturnBook ( System.Guid bookId, System.Guid accountId, System.Guid libraryId, int count ) : void

메소드 상세

AddBookToLibrary() 공개 메소드

public AddBookToLibrary ( System.Guid bookId, int count, System.Guid libraryId ) : void
bookId System.Guid
count int
libraryId System.Guid
리턴 void

BookService() 공개 메소드

public BookService ( IContextManager contextManager ) : System
contextManager IContextManager
리턴 System

BorrowBook() 공개 메소드

public BorrowBook ( System.Guid bookId, System.Guid accountId, System.Guid libraryId, int count ) : void
bookId System.Guid
accountId System.Guid
libraryId System.Guid
count int
리턴 void

CreateBook() 공개 메소드

public CreateBook ( BookInfo bookInfo ) : Book
bookInfo BookInfo
리턴 Book

ReturnBook() 공개 메소드

public ReturnBook ( System.Guid bookId, System.Guid accountId, System.Guid libraryId, int count ) : void
bookId System.Guid
accountId System.Guid
libraryId System.Guid
count int
리턴 void