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>Inheritance
Section titled “Inheritance”Object → BundleInfoPayload
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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:
IsBundle(Boolean)MajorVersion(Nullable<Int32>)MinorVersion(Nullable<Int32>)FileCount(Nullable<Int32>)BundleId(String)TotalSize(Nullable<Int64>)Error(String)
public BundleInfoPayload(bool IsBundle, int? MajorVersion = null, int? MinorVersion = null, int? FileCount = null, string? BundleId = null, long? TotalSize = null, string? Error = null)Properties
Section titled “Properties”BundleId
Section titled “BundleId”Returns: String
public string? BundleId { get; init; }Returns: String
public string? Error { get; init; }FileCount
Section titled “FileCount”Returns: Nullable<Int32>
public int? FileCount { get; init; }IsBundle
Section titled “IsBundle”Returns: Boolean
public bool IsBundle { get; init; }MajorVersion
Section titled “MajorVersion”Returns: Nullable<Int32>
public int? MajorVersion { get; init; }MinorVersion
Section titled “MinorVersion”Returns: Nullable<Int32>
public int? MinorVersion { get; init; }TotalSize
Section titled “TotalSize”Returns: Nullable<Int64>
public long? TotalSize { get; init; }Methods
Section titled “Methods”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:
IsBundle(Boolean)MajorVersion(Nullable<Int32>)MinorVersion(Nullable<Int32>)FileCount(Nullable<Int32>)BundleId(String)TotalSize(Nullable<Int64>)Error(String)
public void Deconstruct(out bool IsBundle, out int? MajorVersion, out int? MinorVersion, out int? FileCount, out string? BundleId, out long? TotalSize, out string? Error)Equals(BundleInfoPayload?)
Section titled “Equals(BundleInfoPayload?)”Parameters:
other(BundleInfoPayload)
Returns: Boolean
public bool Equals(BundleInfoPayload? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(BundleInfoPayload?, BundleInfoPayload?)
Section titled “operator !=(BundleInfoPayload?, BundleInfoPayload?)”Parameters:
left(BundleInfoPayload)right(BundleInfoPayload)
Returns: Boolean
public static bool operator !=(BundleInfoPayload? left, BundleInfoPayload? right)operator ==(BundleInfoPayload?, BundleInfoPayload?)
Section titled “operator ==(BundleInfoPayload?, BundleInfoPayload?)”Parameters:
left(BundleInfoPayload)right(BundleInfoPayload)
Returns: Boolean
public static bool operator ==(BundleInfoPayload? left, BundleInfoPayload? right)