Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ENikS committed Mar 24, 2019
1 parent 3330803 commit b362b06
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/Lifetime/Abstracts/IFactoryLifetimeManager.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
namespace Unity.Lifetime
{
/// <summary>
/// This interface marks all lifetime managers compatible with
/// <see cref="IUnityContainer.RegisterFactory" /> registration.
/// </summary>
/// <remarks>
/// This interface is used for design type validation of registration compatibility.
/// Each registration type only takes lifetime managers compatible with it.
/// </remarks>
public interface IFactoryLifetimeManager
{
}
Expand Down
8 changes: 8 additions & 0 deletions src/Lifetime/Abstracts/IInstanceLifetimeManager.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
namespace Unity.Lifetime
{
/// <summary>
/// This interface marks all lifetime managers compatible with
/// <see cref="IUnityContainer.RegisterInstance" /> registration.
/// </summary>
/// <remarks>
/// This interface is used for design type validation of registration compatibility.
/// Each registration type only takes lifetime managers compatible with it.
/// </remarks>
public interface IInstanceLifetimeManager
{
}
Expand Down
8 changes: 8 additions & 0 deletions src/Lifetime/Abstracts/ITypeLifetimeManager.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
namespace Unity.Lifetime
{
/// <summary>
/// This interface marks all lifetime managers compatible with
/// <see cref="IUnityContainer.RegisterType" /> registration.
/// </summary>
/// <remarks>
/// This interface is used for design type validation of registration compatibility.
/// Each registration type only takes lifetime managers compatible with it.
/// </remarks>
public interface ITypeLifetimeManager
{
}
Expand Down
2 changes: 1 addition & 1 deletion src/Lifetime/Abstracts/LifetimeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public virtual void RemoveValue(ILifetimeContainer container = null) { }
/// Type of current lifetime manager
/// </summary>
/// <returns>The <see cref="Type"/> of the manager.</returns>
[Obsolete]
[Obsolete("This property will be removed in next major release. Use GetType() instead", false)]
public Type LifetimeType => GetType();

#endregion
Expand Down

0 comments on commit b362b06

Please sign in to comment.