annotate Library/LibrarySystem/Interfaces/ILibrary.cs @ 41:dbd242eb9c33

Initial wave of TDD development
author adminsh@apollo
date Tue, 03 Apr 2012 23:29:32 +0100
parents
children aef06698d9e2
rev   line source
41
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
1 using System.Collections.Generic;
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
2
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
3 namespace LibrarySystem.Interfaces
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
4 {
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
5 public interface ILibrary
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
6 {
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
7 string Location { get; set; }
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
8 IList<IStock> StockList { get; set; }
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
9
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
10 void AddStock(params IBook[] books);
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
11 bool IsBookAvailableByISBN(string isbn);
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
12 IList<IStock> FindBooks(string searchString);
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
13 void LendBook(IPerson person, IBook book);
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
14 }
dbd242eb9c33 Initial wave of TDD development
adminsh@apollo
parents:
diff changeset
15 }