Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Objects/Factory/Support
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv15751
Modified Files:
SimpleInstantiationStrategy.cs
Log Message:
remove extraneous NotImplementedExceptions...
Index: SimpleInstantiationStrategy.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Objects/Factory/Support/SimpleInstantiationStrategy.cs,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** SimpleInstantiationStrategy.cs 31 Jul 2007 18:16:50 -0000 1.15
--- SimpleInstantiationStrategy.cs 13 Oct 2007 23:01:08 -0000 1.16
***************
*** 238,242 ****
RootObjectDefinition definition, string objectName, IObjectFactory factory)
{
! throw new NotImplementedException();
}
--- 238,242 ----
RootObjectDefinition definition, string objectName, IObjectFactory factory)
{
! throw new InvalidOperationException("Method Injection not supported in SimpleInstantiationStrategy");
}
***************
*** 284,288 ****
ConstructorInfo constructor, object[] arguments)
{
! throw new NotImplementedException();
}
}
--- 284,288 ----
ConstructorInfo constructor, object[] arguments)
{
! throw new InvalidOperationException("Method Injection not supported in SimpleInstantiationStrategy");
}
}
|