Core.ObjectsResolution - cleanup + start making things public

This commit is contained in:
Stephan
2013-01-16 13:10:34 -01:00
parent e7b84b1637
commit bfd8e96f71
7 changed files with 352 additions and 131 deletions

View File

@@ -1,9 +1,23 @@
namespace Umbraco.Core.ObjectResolution
{
internal enum ObjectLifetimeScope
/// <summary>
/// Specifies the lifetime scope of resolved objects.
/// </summary>
public enum ObjectLifetimeScope
{
/// <summary>
/// A per-request object instance is created.
/// </summary>
HttpRequest,
/// <summary>
/// A single application-wide object instance is created.
/// </summary>
Application,
/// <summary>
/// A new object instance is created each time one is requested.
/// </summary>
Transient
}
}