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
embeddedLibrariesIEnumerable<string>The names of the successfully embedded libraries.
originalSizelongThe total size of the original library files in bytes.
compressedSizelongThe total size of the compressed library files in bytes.
warningsIEnumerable<string>
Properties
CompressedSize
Gets the total size of the compressed library files in bytes.
public long CompressedSize { get; }
Property Value
CompressionRatio
Gets the compression ratio as a percentage.
public double CompressionRatio { get; }
Property Value
EmbeddedLibraries
Gets the names of the libraries successfully embedded.
public IEnumerable<string> EmbeddedLibraries { get; }
Property Value
OriginalSize
Gets the total size of the original library files in bytes.
public long OriginalSize { get; }
Property Value
SavedSize
Gets the total size reduction achieved by compression in bytes.
public long SavedSize { get; }