Obsolete's requestModule and Singleton

This commit is contained in:
Shannon Deminick
2013-02-19 00:50:38 +06:00
parent c1ed910a51
commit 91ee948b4e
2 changed files with 2 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ namespace umbraco.presentation
/// <summary>
/// Summary description for requestModule.
/// </summary>
[Obsolete("This class is not used anymore and will be removed from the codebase in future versions.")]
public class requestModule : IHttpModule
{
protected static Timer publishingTimer;

View File

@@ -20,6 +20,7 @@ namespace umbraco.BusinessLogic.Utils
/// }
/// </summary>
/// <typeparam name="T">Any class that implements default constructor</typeparam>
[Obsolete("Creating singletons should be done manually using the many different techiques available in .Net")]
public static class Singleton<T> where T : new()
{
public static T Instance