diff --git a/BoDi/BoDi.cs b/BoDi/BoDi.cs index 8a98220..549a6e7 100644 --- a/BoDi/BoDi.cs +++ b/BoDi/BoDi.cs @@ -89,6 +89,7 @@ public interface IObjectContainer: IDisposable /// /// Implementation type /// Interface will be resolved + /// An object which allows to change resolving strategy. /// A name to register named instance, otherwise null. /// If there was already a resolve for the . /// @@ -194,7 +195,15 @@ public interface IContainedInstance } public interface ITypeRegistration { + /// + /// Changes resolving strategy to a new instance per each request. + /// + /// ITypeRegistration InstancePerRequest(); + /// + /// Changes resolving strategy to a single instance per object container. This strategy is a default behaviour. + /// + /// ITypeRegistration InstancePerContext(); }