Skip to content

BundleInfoPayload

Namespace: Dotsider.Core.Protocol

Assembly: Dotsider.Core.dll

Single-file bundle identity and total content size. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.

public sealed record BundleInfoPayload : IEquatable<BundleInfoPayload>

ObjectBundleInfoPayload

BundleInfoPayload(bool, int?, int?, int?, string?, long?, string?)

Section titled “BundleInfoPayload(bool, int?, int?, int?, string?, long?, string?)”

Single-file bundle identity and total content size. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.

Parameters:

public BundleInfoPayload(bool IsBundle, int? MajorVersion = null, int? MinorVersion = null, int? FileCount = null, string? BundleId = null, long? TotalSize = null, string? Error = null)

Returns: String

public string? BundleId { get; init; }

Returns: String

public string? Error { get; init; }

Returns: Nullable<Int32>

public int? FileCount { get; init; }

Returns: Boolean

public bool IsBundle { get; init; }

Returns: Nullable<Int32>

public int? MajorVersion { get; init; }

Returns: Nullable<Int32>

public int? MinorVersion { get; init; }

Returns: Nullable<Int64>

public long? TotalSize { get; init; }

Deconstruct(out bool, out int?, out int?, out int?, out string?, out long?, out string?)

Section titled “Deconstruct(out bool, out int?, out int?, out int?, out string?, out long?, out string?)”

Parameters:

public void Deconstruct(out bool IsBundle, out int? MajorVersion, out int? MinorVersion, out int? FileCount, out string? BundleId, out long? TotalSize, out string? Error)

Parameters:

Returns: Boolean

public bool Equals(BundleInfoPayload? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(BundleInfoPayload?, BundleInfoPayload?)

Section titled “operator !=(BundleInfoPayload?, BundleInfoPayload?)”

Parameters:

Returns: Boolean

public static bool operator !=(BundleInfoPayload? left, BundleInfoPayload? right)

operator ==(BundleInfoPayload?, BundleInfoPayload?)

Section titled “operator ==(BundleInfoPayload?, BundleInfoPayload?)”

Parameters:

Returns: Boolean

public static bool operator ==(BundleInfoPayload? left, BundleInfoPayload? right)