Table of Contents

Class PackageContainer

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll
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

ObservableCollection<DependencyRange>

FlattenedDependencies

public ObservableCollection<Dependency> FlattenedDependencies { get; }

Property Value

ObservableCollection<Dependency>

Package

public Package Package { get; }

Property Value

Package

Session

Gets the session.

public PackageSession Session { get; }

Property Value

PackageSession

Methods

Save(ILogger, PackageSaveParameters)

Saves this package and all dirty assets. See remarks.

public void Save(ILogger log, PackageSaveParameters saveParameters = null)

Parameters

log ILogger

The log.

saveParameters PackageSaveParameters

Remarks

When calling this method directly, it does not handle moving assets between packages. Call Save(ILogger, PackageSaveParameters) instead.

Exceptions

ArgumentNullException

log

SavePackage()

protected virtual void SavePackage()