Table of Contents

Class ProjectMake

Namespace
RDCore.SDK.Workspace
Assembly
RDCore.SDK.Protocols.dll

The Make section of a .rdproj project (Make, RD-VBAL §2.2.3.1): what Visual Basic 6.0's Project Properties have on their Make tab, the program's title, its version and its six version strings, which the program reads from its App object.

public sealed record ProjectMake : IEquatable<ProjectMake>
Inheritance
ProjectMake
Implements
Inherited Members

Remarks

Its members are written as the properties of App are named: "Make": { "Title": "Inventory", "Major": 1, "Minor": 2, "Revision": 0, "CompanyName": "Contoso" }. Each is optional, and null when the section does not have it.

It is read as a project file written by hand may have it, and never makes a project file unreadable. A version number is read only when it is a whole number from 0 to 9999, as Visual Basic 6.0's Make tab takes it, and a title or a version string only when it is a string; a member read otherwise is null. What is written back is what was read, not the text it was read from: a null member is left out. A Make that is not an object reads as no section (Make is null), and is not written back.

Properties

Comments

The version string Comments: App.Comments.

[JsonConverter(typeof(ProjectTextJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Comments { get; init; }

Property Value

string

CompanyName

The version string CompanyName: App.CompanyName.

[JsonConverter(typeof(ProjectTextJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? CompanyName { get; init; }

Property Value

string

ExtensionData

The members of the section this model does not know, as they were read, which are written back (ExtensionData).

[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; init; }

Property Value

Dictionary<string, JsonElement>

FileDescription

The version string FileDescription: App.FileDescription.

[JsonConverter(typeof(ProjectTextJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? FileDescription { get; init; }

Property Value

string

LegalCopyright

The version string LegalCopyright: App.LegalCopyright.

[JsonConverter(typeof(ProjectTextJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? LegalCopyright { get; init; }

Property Value

string

LegalTrademarks

The version string LegalTrademarks: App.LegalTrademarks.

[JsonConverter(typeof(ProjectTextJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? LegalTrademarks { get; init; }

Property Value

string

Major

The major version number: App.Major.

[JsonConverter(typeof(ProjectVersionNumberJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public short? Major { get; init; }

Property Value

short?

Minor

The minor version number: App.Minor.

[JsonConverter(typeof(ProjectVersionNumberJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public short? Minor { get; init; }

Property Value

short?

ProductName

The version string ProductName: App.ProductName.

[JsonConverter(typeof(ProjectTextJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? ProductName { get; init; }

Property Value

string

Revision

The revision number: App.Revision.

[JsonConverter(typeof(ProjectVersionNumberJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public short? Revision { get; init; }

Property Value

short?

Title

The program's title: App.Title when the program starts.

[JsonConverter(typeof(ProjectTextJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Title { get; init; }

Property Value

string