Considering
public class Blah : IBlah
{
public Blah(decimal argument)
{
}
}
At
ForRequestedType<IBlah>()
.TheDefault.Is.OfConcreteType<Blah>()
.WithCtorArg("argument")
.EqualToAppSetting("argument_app_setting_key")
StructureMap then throws the following exception
No Default Instance defined for PluginFamily System.Decimal
Can EqualToAppSetting be used with non-string arguments?
user1684
source
share