GetExtensionPackage is used to retrieve a specific package type from the data store.
Namespace: DotNetNuke.Services.Installer.PackagesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
PackageType GetExtensionPackageType( Func<PackageType, bool> predicate ) |
Visual Basic |
---|
Function GetExtensionPackageType ( predicate As Func(Of PackageType, Boolean) ) As PackageType |
Parameters
- predicate
- Type: System..::..Func<(Of <(<'PackageType, Boolean>)>)>
The "search criteria" to use to identify the package type to retrieve. In most cases this will be a simple lambda method e.g. t => t.PackageType == "Modules"