Mercurial > repos > IBDev-IBBoard.WarFoundry.API
annotate API/Loading/ILoadableObjectSource.cs @ 490:e35fc85eda2b
Re #410: Create "N units per M models in parent unit" requirement
* Add factory to create requirements
* Add methods to allow things other than 1:1 values for N and M
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 29 Jul 2012 21:02:59 +0100 |
parents | 1ed2f3ab5e35 |
children |
rev | line source |
---|---|
482
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 // This file (ILoadableObjectSource.cs) is a part of the IBBoard.WarFoundry.API project and is copyright 2012 IBBoard |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 using System; |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 using System.Collections.Generic; |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 namespace IBBoard.WarFoundry.API.Loading |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 { |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 public interface ILoadableObjectSource |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 { |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 /// <summary> |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 /// Gets the loadable objects that this source can provide |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 /// </summary> |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 /// <returns> |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 /// The loadable objects. |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 /// </returns> |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 ICollection<ILoadableObject> GetLoadableObjects(); |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 } |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 } |
1ed2f3ab5e35
Re #419: Remove assumptions of a file-based install
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 |