Class ProgramShared
- Namespace
- SunamoDebugIO
- Assembly
- SunamoDebugIO.dll
EN: Shared functionality for program debug I/O operations including file paths and initialization CZ: Sdílená funkcionalita pro debug I/O operace programu včetně cest k souborům a inicializace
public class ProgramShared
- Inheritance
-
ProgramShared
- Inherited Members
- Extension Methods
Properties
Clipboard
EN: Gets or sets raw clipboard text content. If value is Enumerable, join with comma. CZ: Získá nebo nastaví surový textový obsah schránky. Pokud je hodnota Enumerable, spojí čárkou.
public static string? Clipboard { get; set; }
Property Value
ClipboardIInt
EN: Sets clipboard content from a list of integers, each on a new line CZ: Nastaví obsah schránky ze seznamu celých čísel, každé na novém řádku
public static List<int> ClipboardIInt { set; }
Property Value
ClipboardL
EN: Gets or sets clipboard content as a list of strings, splitting by newlines when getting CZ: Získá nebo nastaví obsah schránky jako seznam stringů, při získání rozdělí podle nových řádků
public static List<string> ClipboardL { get; set; }
Property Value
ClipboardLInt
EN: Sets clipboard content from a list of integers (IList interface), each on a new line CZ: Nastaví obsah schránky ze seznamu celých čísel (IList rozhraní), každé na novém řádku
public static List<int> ClipboardLInt { set; }
Property Value
ClipboardO
EN: Sets clipboard content from any object by calling ToString() on it. Can be used with Object but not default (with suffix O and capital O). CZ: Nastaví obsah schránky z jakéhokoliv objektu zavoláním ToString(). Může být použito s Object ale ne default (s příponou O a velkým O).
public static object ClipboardO { set; }
Property Value
Input2File
EN: Path to the secondary input file CZ: Cesta k druhému vstupnímu souboru
public static string Input2File { get; set; }
Property Value
Input3File
EN: Path to the tertiary input file CZ: Cesta k třetímu vstupnímu souboru
public static string Input3File { get; set; }
Property Value
InputFile
EN: Path to the main input file CZ: Cesta k hlavnímu vstupnímu souboru
public static string InputFile { get; set; }
Property Value
InputFileJson
EN: Path to the JSON input file CZ: Cesta k JSON vstupnímu souboru
public static string InputFileJson { get; set; }
Property Value
InputHtmlFile
EN: Path to the HTML input file CZ: Cesta k HTML vstupnímu souboru
public static string InputHtmlFile { get; set; }
Property Value
NotExistsFile
EN: Path to the file for non-existent entries CZ: Cesta k souboru pro neexistující záznamy
public static string NotExistsFile { get; set; }
Property Value
NotExistsFiles
EN: Sets the content of NotExistsFile CZ: Nastaví obsah NotExistsFile
public static string NotExistsFiles { set; }
Property Value
Output
EN: Sets the content of main output file CZ: Nastaví obsah hlavního výstupního souboru
public static string Output { set; }
Property Value
Output2
EN: Sets the content of secondary output file CZ: Nastaví obsah druhého výstupního souboru
public static string Output2 { set; }
Property Value
Output2File
EN: Path to the secondary output file CZ: Cesta k druhému výstupnímu souboru
public static string Output2File { get; set; }
Property Value
OutputFile
EN: Path to the main output file CZ: Cesta k hlavnímu výstupnímu souboru
public static string OutputFile { get; set; }
Property Value
OutputHtml
EN: Sets the content of HTML output file CZ: Nastaví obsah HTML výstupního souboru
public static string OutputHtml { set; }
Property Value
OutputHtmlFile
EN: Path to the HTML output file CZ: Cesta k HTML výstupnímu souboru
public static string OutputHtmlFile { get; set; }
Property Value
OutputJson
EN: Sets the content of JSON output file CZ: Nastaví obsah JSON výstupního souboru
public static string OutputJson { set; }
Property Value
OutputJsonFile
EN: Path to the JSON output file CZ: Cesta k JSON výstupnímu souboru
public static string OutputJsonFile { get; set; }
Property Value
OutputL
EN: Sets the content of output file from a list of strings (writes all lines) CZ: Nastaví obsah výstupního souboru ze seznamu stringů (zapíše všechny řádky)
public static List<string> OutputL { set; }
Property Value
OutputL2
EN: Sets the content of secondary output file from a list of strings (writes all lines) CZ: Nastaví obsah druhého výstupního souboru ze seznamu stringů (zapíše všechny řádky)
public static List<string> OutputL2 { set; }
Property Value
OutputStringBuilders
EN: Sets the content of output file from a list of StringBuilders, separating each with blank lines CZ: Nastaví obsah výstupního souboru ze seznamu StringBuilderů, každý oddělí prázdnými řádky
public static List<StringBuilder> OutputStringBuilders { set; }
Property Value
Type
EN: Type of the ProgramShared class CZ: Typ třídy ProgramShared
public static Type Type { get; set; }
Property Value
Methods
CreatePathToFiles(Func<string, string, string>)
EN: Initializes base properties of every app. In console put into InitNotUt / Init (Initialize.cs file). Into A1 put AppData.ci.GetFileString from SunamoThisApp. CZ: Inicializuje základní vlastnosti každé aplikace. V konzoli umístěte do InitNotUt / Init (soubor Initialize.cs). Do A1 umístěte AppData.ci.GetFileString z SunamoThisApp.
public static Task CreatePathToFiles(Func<string, string, string> getFile)
Parameters
Returns
Input()
EN: Reads the content of main input file CZ: Přečte obsah hlavního vstupního souboru
public static Task<string> Input()
Returns
InputHtml()
EN: Reads the content of HTML input file CZ: Přečte obsah HTML vstupního souboru
public static Task<string> InputHtml()
Returns
InputJson()
EN: Reads the content of JSON input file CZ: Přečte obsah JSON vstupního souboru
public static Task<string> InputJson()
Returns
InputL()
EN: Reads the content of main input file as a list of lines CZ: Přečte obsah hlavního vstupního souboru jako seznam řádků
public static Task<List<string>> InputL()
Returns
InputOpen(bool)
EN: Opens the input file in VSCodium editor, optionally waits for user confirmation after filling CZ: Otevře vstupní soubor v editoru VSCodium, volitelně čeká na potvrzení uživatele po vyplnění
public static void InputOpen(bool isWaitForInput = true)
Parameters
isWaitForInputboolWhether to wait for user to press enter after filling the file
Output2Open()
EN: Opens the secondary output file in VSCodium editor CZ: Otevře druhý výstupní soubor v editoru VSCodium
public static void Output2Open()
OutputHtmlOpen()
EN: Opens the HTML output file in VSCodium editor CZ: Otevře HTML výstupní soubor v editoru VSCodium
public static void OutputHtmlOpen()
OutputJsonOpen()
EN: Opens the JSON output file in VSCodium editor CZ: Otevře JSON výstupní soubor v editoru VSCodium
public static void OutputJsonOpen()
OutputOpen()
EN: Opens the main output file in VSCodium editor CZ: Otevře hlavní výstupní soubor v editoru VSCodium
public static void OutputOpen()