Obsolete's requestModule and Singleton
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user