Table of Contents

Class PlatformSplash

Namespace
RDCore.SDK.Platform
Assembly
RDCore.SDK.dll

The splash of the platform: its logo, its slogan, the versions that run and its copyright notice, as a console component of the platform shows them when it starts.

public static class PlatformSplash
Inheritance
PlatformSplash
Inherited Members

Remarks

This is what the splash says and where each part of it is, not how it looks: a component renders the lines (Lines(CultureInfo?, SplashTitle?)) as its console does, in the colours of its theme or in none (WriteTo(TextWriter, CultureInfo?, SplashTitle?)). A component may put a title of its own between the logo and the slogan (SplashTitle); the logo, the slogan and the notice are the same in every component. It is shown when a component starts, and never after what a program writes.

The version line (VersionLine(Assembly?, CultureInfo?)) names the application and its version, and the version of the SDK it runs on. A component that renders the lines keeps it, or leaves out the lines of its part (Version).

An application shows it as it starts (ShowSplash(IServiceProvider, IReadOnlyList<string>)), in plain text unless it overrides that method to show a splash of its own, drawn with these lines, or none at all.

The version line and the copyright notice are in the language of the user interface; the logo and the slogan are in none. The year and the company the notice names are those of the SDK's own assembly (CopyrightYear, Company), which its package's copyright says too.

Fields

Heart

The heart of the slogan (Slogan): the one character of it that a console that has colours shows in red.

public const string Heart = "♥"

Field Value

string

Properties

Company

The company that holds the copyright of the platform: the company of the SDK's assembly (AssemblyCompanyAttribute).

public static string Company { get; }

Property Value

string

CopyrightYear

The year of the copyright of the platform: the one the SDK's assembly says (AssemblyMetadataAttribute CopyrightYear), which is the year its package's copyright says.

public static string CopyrightYear { get; }

Property Value

string

The logo: a rubber duck, in lines of ASCII art separated by \n, with no indentation.

public static string Logo { get; }

Property Value

string

SdkVersion

The version of the SDK the application runs on: the informational version of the SDK's own assembly (AssemblyDisplayVersion).

public static string SdkVersion { get; }

Property Value

string

Slogan

The slogan, V I V A T ♥ C U C U M I S ™: "long live the cucumber", in Latin, which is in no language of the user interface.

public static string Slogan { get; }

Property Value

string

Methods

CopyrightNotice(CultureInfo?)

The copyright notice of the platform, in a language: Copyright © 2026 9562-7303 Québec inc., all rights reserved.

public static string CopyrightNotice(CultureInfo? culture = null)

Parameters

culture CultureInfo

The language of the user interface; the current one (CurrentUICulture) when it is not said.

Returns

string

The notice in that language, or in English when the platform has none in it.

Lines(CultureInfo?, SplashTitle?)

The splash, line by line, as it is shown: the logo, the component's title when it has one, a blank line, the slogan centred under what is above it, a blank line, then the version line (VersionLine(Assembly?, CultureInfo?)) of the process's entry assembly and the copyright notice, neither of them indented.

public static IReadOnlyList<SplashLine> Lines(CultureInfo? culture = null, SplashTitle? title = null)

Parameters

culture CultureInfo

The language of the version line and the copyright notice; the current one of the user interface when it is not said.

title SplashTitle

The component's own title, under the logo; none when it is not said.

Returns

IReadOnlyList<SplashLine>

Each line, with the part of the splash it is of: a renderer styles each part as its console does.

VersionLine(Assembly?, CultureInfo?)

The line of the splash that says which versions run, in a language: RDCore 0.1.0+3cab50a, built on RDCore.SDK 0.1.5-alpha+30d43d6.

public static string VersionLine(Assembly? application = null, CultureInfo? culture = null)

Parameters

application Assembly

The application's assembly; the process's entry assembly (GetEntryAssembly()) when it is not said.

culture CultureInfo

The language of the user interface; the current one (CurrentUICulture) when it is not said.

Returns

string

The line in that language, or in English when the platform has none in it.

Remarks

The application is named by the product of its assembly (AssemblyProductAttribute), or by the assembly's name when it says none, and its version is the assembly's informational version (AssemblyDisplayVersion). The build metadata of a version (the commit it was built from) is shown by its first 7 characters.

WriteTo(TextWriter, CultureInfo?, SplashTitle?)

Writes the splash (Lines(CultureInfo?, SplashTitle?)) as plain text, a line at a time, in no colour: what a component that renders it in none of its own shows.

public static void WriteTo(TextWriter writer, CultureInfo? culture = null, SplashTitle? title = null)

Parameters

writer TextWriter

What the splash is written to: the component's standard output, say.

culture CultureInfo

The language of the version line and the copyright notice; the current one of the user interface when it is not said.

title SplashTitle

The component's own title, under the logo; none when it is not said.