PackageContainer Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
System.Object →
PackageContainer
Derived from PackageContainer: SolutionProject StandalonePackage
public abstract class PackageContainer
Name | Description | |
---|---|---|
Constructors | ||
PackageContainer(Package) | ||
Properties | ||
DirectDependencies | ||
FlattenedDependencies | ||
Package | ||
Session | Gets the session. |
|
Methods | ||
Save(ILogger, PackageSaveParameters) | Saves this package and all dirty assets. See remarks. |
|
SavePackage() |
Constructors
PackageContainer(Package)
public PackageContainer(Package package)
Parameters
Type | Name | Description |
---|---|---|
Package | package |
Properties
DirectDependencies
public ObservableCollection<DependencyRange> DirectDependencies { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<DependencyRange> |
FlattenedDependencies
public ObservableCollection<Dependency> FlattenedDependencies { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<Dependency> |
Package
public Package Package { get; }
Property Value
Type | Description |
---|---|
Package |
Session
Gets the session.
public PackageSession Session { get; }
Property Value
Type | Description |
---|---|
PackageSession |
Methods
Save(ILogger, PackageSaveParameters)
Saves this package and all dirty assets. See remarks.
public void Save(ILogger log, PackageSaveParameters saveParameters = null)
Parameters
Type | Name | Description |
---|---|---|
ILogger | log | The log. |
PackageSaveParameters | saveParameters |
Remarks
When calling this method directly, it does not handle moving assets between packages. Call Save(ILogger, PackageSaveParameters) instead.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | log |
SavePackage()
protected virtual void SavePackage()