Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​LicenseProvider

Assembly: System.ComponentModel.TypeConverter

Inheritance: object → LicenseProvider

Provides the <see langword="abstract" /> base class for implementing a license provider.

Methods

public License
GetLicense​(LicenseContext context, Type type, object instance, bool allowExceptions)
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.
Returns A valid <see cref="T:System.ComponentModel.License" /> .
context A <see cref="T:System.ComponentModel.LicenseContext" /> that specifies where you can use the licensed object.
type A <see cref="T:System.Type" /> that represents the component requesting the license.
instance An object that is requesting the license.
allowExceptions <see langword="true" /> if a <see cref="T:System.ComponentModel.LicenseException" /> should be thrown when the component cannot be granted a license; otherwise, <see langword="false" /> .
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object