IManagedTemplatePackageProvider Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The provider is responsible for managing IManagedTemplatePackages. Besides base functionality of ITemplatePackageProvider, it adds ability to install, update and uninstall template packages.
public interface IManagedTemplatePackageProvider : Microsoft.TemplateEngine.Abstractions.TemplatePackage.ITemplatePackageProvider
type IManagedTemplatePackageProvider = interface
interface ITemplatePackageProvider
Public Interface IManagedTemplatePackageProvider
Implements ITemplatePackageProvider
- Implements
The IManagedTemplatePackageProvider keeps track of template packages managed by the provider. The actual installation is done by IInstaller implementations.
Factory |
Gets ITemplatePackageProviderFactory that created the provider. (Inherited from ITemplatePackageProvider) |
Get |
Gets the list of template packages available for the provider. (Inherited from ITemplatePackageProvider) |
Get |
Gets the latest version for the template packages. |
Install |
Installs new IManagedTemplatePackage based on InstallRequest data.
All IInstallers are considered via CanInstallAsync(InstallRequest, CancellationToken) and if only 1 IInstaller
returns |
Uninstall |
Uninstalls the template packages. |
Update |
Updates the template packages given in |
Template |
Raised when template packages have been changed. Indicates that caller should refresh the list of template packages in use. (Inherited from ITemplatePackageProvider) |
Proizvod | Verzije |
---|---|
Template Engine | 6.0.100, 7.0.100 |