Mercurial > silverbladetech
annotate Library/LibrarySystem/Interfaces/ILibrary.cs @ 96:188f8b366e87
Unit test project correctly setup as normal class library DLL.
author | stevenhollidge <stevenhollidge@hotmail.com> |
---|---|
date | Sat, 05 May 2012 13:29:56 +0100 |
parents | aef06698d9e2 |
children |
rev | line source |
---|---|
41 | 1 using System.Collections.Generic; |
2 | |
3 namespace LibrarySystem.Interfaces | |
4 { | |
5 public interface ILibrary | |
6 { | |
43
aef06698d9e2
Added the library tests
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
41
diff
changeset
|
7 string Location { get; } |
aef06698d9e2
Added the library tests
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
41
diff
changeset
|
8 IList<IStock> StockList { get; } |
41 | 9 |
10 void AddStock(params IBook[] books); | |
11 bool IsBookAvailableByISBN(string isbn); | |
12 IList<IStock> FindBooks(string searchString); | |
43
aef06698d9e2
Added the library tests
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
41
diff
changeset
|
13 IBook GetBookById(string id); |
aef06698d9e2
Added the library tests
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
41
diff
changeset
|
14 void LendBook(IPerson person, string id); |
41 | 15 } |
16 } |