33 lines
579 B
C#
33 lines
579 B
C#
using Microsoft.SharePoint.WebPartPages;
|
|
using System;
|
|
using System.ComponentModel;
|
|
//using Xheo.Licensing;
|
|
namespace SPSolutions.SharePoint.WebPartPages
|
|
{
|
|
//[LicenseProvider(typeof(ExtendedLicenseProvider))]
|
|
public class ProtectedWebPartPage : WebPartPage
|
|
{
|
|
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();
|
|
}
|
|
}
|
|
}
|