What exactly does "Configure"?

已查看 33 次
跳至第一个未读帖子

Monika

未读,
2018年8月31日 16:37:202018/8/31
收件人 structuremap-users
Hello,
I would like to ask what exactly does "Configure"? For example in following sample:

ForConcreteType<ClassName>().Configure.Singleton();

Jeremy Miller

未读,
2018年8月31日 16:40:202018/8/31
收件人 structure...@googlegroups.com
Really just syntactical sugar for:

For<ClassName>().Use<ClassName>().Singleton();

--
You received this message because you are subscribed to the Google Groups "structuremap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structuremap-us...@googlegroups.com.
To post to this group, send email to structure...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/structuremap-users/5d20670b-c158-4b5b-952a-52bc92782447%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Monika

未读,
2018年8月31日 16:41:172018/8/31
收件人 structuremap-users
Can somebody prepare an example of usage of it?

Jeremy Miller

未读,
2018年8月31日 16:47:072018/8/31
收件人 structure...@googlegroups.com
Search for the unit tests on GitHub is the best thing I can tell you to do

--
You received this message because you are subscribed to the Google Groups "structuremap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structuremap-us...@googlegroups.com.
To post to this group, send email to structure...@googlegroups.com.

Monika

未读,
2018年8月31日 17:32:392018/8/31
收件人 structuremap-users
Thank you for explanation.
回复全部
回复作者
转发
0 个新帖子