Table of Contents

Class EmbedResult

Namespace
Embedix.Core
Assembly
Embedix.Core.dll

Represents the result of an assembly embedding operation.

public sealed class EmbedResult
Inheritance
EmbedResult
Inherited Members

Constructors

EmbedResult(IEnumerable<string>, long, long, IEnumerable<string>)

Initializes a new instance of the EmbedResult class.

public EmbedResult(IEnumerable<string> embeddedLibraries, long originalSize, long compressedSize, IEnumerable<string> warnings)

Parameters

embeddedLibraries IEnumerable<string>

The names of the successfully embedded libraries.

originalSize long

The total size of the original library files in bytes.

compressedSize long

The total size of the compressed library files in bytes.

warnings IEnumerable<string>

Properties

CompressedSize

Gets the total size of the compressed library files in bytes.

public long CompressedSize { get; }

Property Value

long

CompressionRatio

Gets the compression ratio as a percentage.

public double CompressionRatio { get; }

Property Value

double

EmbeddedLibraries

Gets the names of the libraries successfully embedded.

public IEnumerable<string> EmbeddedLibraries { get; }

Property Value

IEnumerable<string>

OriginalSize

Gets the total size of the original library files in bytes.

public long OriginalSize { get; }

Property Value

long

SavedSize

Gets the total size reduction achieved by compression in bytes.

public long SavedSize { get; }

Property Value

long