using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Provides the base class for implementing a license provider.
// Token: 0x02000156 RID: 342
[Token(Token = "0x2000156")]
public abstract class LicenseProvider
{
/// 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.
/// A that specifies where you can use the licensed object.
/// A that represents the component requesting the license.
/// An object that is requesting the license.
///
/// if a should be thrown when the component cannot be granted a license; otherwise, .
/// A valid .
// Token: 0x0600083E RID: 2110
[Token(Token = "0x600083E")]
[Address(Slot = "4")]
public abstract License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions);
/// Initializes a new instance of the class.
// Token: 0x0600083F RID: 2111 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600083F")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected LicenseProvider()
{
}
}
}