scripts
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace System.ComponentModel
|
||||
{
|
||||
/// <summary>Provides the abstract base class for implementing a license provider.</summary>
|
||||
// Token: 0x020000A1 RID: 161
|
||||
public abstract class LicenseProvider
|
||||
{
|
||||
/// <summary>When overridden in a derived class, gets a license for an instance or type of component, when given a context and whether the denial of a license throws an exception.</summary>
|
||||
/// <returns>A valid <see cref="T:System.ComponentModel.License" />.</returns>
|
||||
/// <param name="context">A <see cref="T:System.ComponentModel.LicenseContext" /> that specifies where you can use the licensed object. </param>
|
||||
/// <param name="type">A <see cref="T:System.Type" /> that represents the component requesting the license. </param>
|
||||
/// <param name="instance">An object that is requesting the license. </param>
|
||||
/// <param name="allowExceptions">true if a <see cref="T:System.ComponentModel.LicenseException" /> should be thrown when the component cannot be granted a license; otherwise, false. </param>
|
||||
// Token: 0x06000548 RID: 1352
|
||||
public abstract License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user