e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
30 lines
1.3 KiB
C#
30 lines
1.3 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="LicenseProvider.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.ComponentModel {
|
|
using Microsoft.Win32;
|
|
using System;
|
|
using System.Diagnostics;
|
|
using System.Runtime.Remoting;
|
|
using System.Security.Permissions;
|
|
|
|
/// <include file='doc\LicenseProvider.uex' path='docs/doc[@for="LicenseProvider"]/*' />
|
|
/// <devdoc>
|
|
/// <para>Provides the <see langword='abstract'/> base class for implementing a <see cref='System.ComponentModel.LicenseProvider'/>.</para>
|
|
/// </devdoc>
|
|
[HostProtection(SharedState = true)]
|
|
public abstract class LicenseProvider
|
|
{
|
|
|
|
/// <include file='doc\LicenseProvider.uex' path='docs/doc[@for="LicenseProvider.GetLicense"]/*' />
|
|
/// <devdoc>
|
|
/// <para>When overridden in a derived class, gets a license for an <paramref name="instance "/>or <paramref name="type "/>
|
|
/// of component.</para>
|
|
/// </devdoc>
|
|
public abstract License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions);
|
|
}
|
|
}
|