33 lines
585 B
C#
33 lines
585 B
C#
using Microsoft.SharePoint.WebControls;
|
|
using System;
|
|
using System.ComponentModel;
|
|
//using Xheo.Licensing;
|
|
namespace SPSolutions.SharePoint.WebControls
|
|
{
|
|
// [LicenseProvider(typeof(ExtendedLicenseProvider))]
|
|
public class ProtectedLayoutsPageBase : LayoutsPageBase
|
|
{
|
|
private License m_license;
|
|
protected License License
|
|
{
|
|
get
|
|
{
|
|
return this.m_license;
|
|
}
|
|
set
|
|
{
|
|
this.m_license = value;
|
|
}
|
|
}
|
|
public override void Dispose()
|
|
{
|
|
if (this.m_license != null)
|
|
{
|
|
this.m_license.Dispose();
|
|
this.m_license = null;
|
|
}
|
|
base.Dispose();
|
|
}
|
|
}
|
|
}
|