Skip to content

Class ImportReport

Namespace: Apogee.Content.Import
Assembly: Apogee.Content.dll

What did.

public sealed record ImportReport : IEquatable<ImportReport>

Inheritance

object ← ImportReport

Implements

IEquatable<ImportReport>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

ImportReport(IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<(string Source, string Message)>, IReadOnlyList<(string Path, AssetUid Old, AssetUid New)>?)

What did.

public ImportReport(IReadOnlyList<string> Imported, IReadOnlyList<string> UpToDate, IReadOnlyList<string> Removed, IReadOnlyList<(string Source, string Message)> Failed, IReadOnlyList<(string Path, AssetUid Old, AssetUid New)>? Reassigned = null)

Parameters

Imported IReadOnlyList<string>

The assets that were imported.

UpToDate IReadOnlyList<string>

The assets whose artifact was already good.

Removed IReadOnlyList<string>

The artifacts that were deleted because their source is gone.

Failed IReadOnlyList<(string Source, string Message)>

The assets that could not be imported, with the reason.

Reassigned IReadOnlyList<(string Path, AssetUid Old, AssetUid New)>?

The assets that shared their UID with another (a copy of an asset and its .import.xml) and were given a new one: the path relative to res://, the UID it had and the one it has now.

Properties

Failed

The assets that could not be imported, with the reason.

public IReadOnlyList<(string Source, string Message)> Failed { get; init; }

Property Value

IReadOnlyList<(string Source, string Message)>

Imported

The assets that were imported.

public IReadOnlyList<string> Imported { get; init; }

Property Value

IReadOnlyList<string>

Reassigned

The assets that were given a new UID because another had the same (see the constructor's parameter); empty when none.

public IReadOnlyList<(string Path, AssetUid Old, AssetUid New)> Reassigned { get; init; }

Property Value

IReadOnlyList<(string Path, AssetUid Old, AssetUid New)>

Removed

The artifacts that were deleted because their source is gone.

public IReadOnlyList<string> Removed { get; init; }

Property Value

IReadOnlyList<string>

Success

public bool Success { get; }

Property Value

bool

UpToDate

The assets whose artifact was already good.

public IReadOnlyList<string> UpToDate { get; init; }

Property Value

IReadOnlyList<string>