Class PackageSessionExtensions
Extension methods for PackageSession.
public static class PackageSessionExtensions
- Inheritance
-
PackageSessionExtensions
Methods
AddAssetToCompilePackage(PackageSession, AssetItem, Package)
public static void AddAssetToCompilePackage(this PackageSession session, AssetItem originalAssetItem, Package assetPackageCloned)
Parameters
session
PackageSessionoriginalAssetItem
AssetItemassetPackageCloned
Package
CreateCompilePackageFromAsset(PackageSession, AssetItem)
Create a Package that can be used to compile an AssetItem by analyzing and resolving its dependencies.
public static Package CreateCompilePackageFromAsset(this PackageSession session, AssetItem originalAssetItem)
Parameters
session
PackageSessionoriginalAssetItem
AssetItem
Returns
- Package
The package packageSession that can be used to compile the asset item.