Class PackageContainer
public abstract class PackageContainer
- Inheritance
-
PackageContainer
- Derived
Constructors
PackageContainer(Package)
public PackageContainer(Package package)
Parameters
package
Package
Properties
DirectDependencies
public ObservableCollection<DependencyRange> DirectDependencies { get; }
Property Value
FlattenedDependencies
public ObservableCollection<Dependency> FlattenedDependencies { get; }
Property Value
Package
public Package Package { get; }
Property Value
Session
Gets the session.
public PackageSession Session { get; }
Property Value
Methods
Save(ILogger, PackageSaveParameters)
Saves this package and all dirty assets. See remarks.
public void Save(ILogger log, PackageSaveParameters saveParameters = null)
Parameters
log
ILoggerThe log.
saveParameters
PackageSaveParameters
Remarks
When calling this method directly, it does not handle moving assets between packages. Call Save(ILogger, PackageSaveParameters) instead.
Exceptions
SavePackage()
protected virtual void SavePackage()