Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodInjectingInstantiationStrategy Class

An IInstantiationStrategy implementation that supports method injection.

For a list of all members of this type, see MethodInjectingInstantiationStrategy Members .

System.Object
   SimpleInstantiationStrategy
      MethodInjectingInstantiationStrategy
         WebInstantiationStrategy

[Visual Basic]
<Serializable> _
Public Class MethodInjectingInstantiationStrategy
    Inherits SimpleInstantiationStrategy
[C#]
[Serializable]
public class MethodInjectingInstantiationStrategy : SimpleInstantiationStrategy

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Classes that want to take advantage of method injection must meet some stringent criteria. Every method that is to be method injected must be defined as either or . An ObjectsException will be thrown if these criteria are not met.

Requirements

Namespace: Spring.Objects.Factory.Support

Assembly: Spring.Core (in Spring.Core.dll)

See Also

MethodInjectingInstantiationStrategy Members | Spring.Objects.Factory.Support Namespace