Skip to content

1) Fix compilation, 2) Extend depends.on with by name#6

Open
SeanMBe wants to merge 7 commits intodevelopwithpassion:masterfrom
SeanMBe:master
Open

1) Fix compilation, 2) Extend depends.on with by name#6
SeanMBe wants to merge 7 commits intodevelopwithpassion:masterfrom
SeanMBe:master

Conversation

@SeanMBe
Copy link

@SeanMBe SeanMBe commented Jun 2, 2013

  1. Fix compilation (In examples project:)
    a) Include packages.config
    b) Use same versions in packages.config as other projects
    c) Change hint paths to thoses packages\ versions

  2. Extend depends.on to work with by name
    a) The use case is if you have constructor with parameter of same type, and want to specify different values in the automatic construction.

Example:
class NetworkSwitchClient { public NetworkSwitchClient(string username, string password, ITelnetClient telnetClient) { ... } }
spec... Establish e = () => { depends.on("admin", "username"); depends.on("", "password"); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant