### Start Server Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Server%28go.net.http.httptest%29 Starts the server instance. ```Oxygene method Start ``` ```C# void Start() ``` ```Swift func Start() ``` ```Go // .NET, .NET Standard 2.0 func Start() // Island func Start() void ``` ```Mercury Sub Start() ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/Process Starts the configured process. ```APIDOC ## Start ### Description Initiates the execution of the process. ### Returns - **Boolean** - Returns true if the process started successfully. ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Process Starts the process instance. ```APIDOC ## Start ### Description Initiates the execution of the current process instance. ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Process Starts the current process instance. ```APIDOC ## Start ### Description Starts the process instance. ``` -------------------------------- ### Handle Runtime Installation Prompt Source: https://docs.elementscompiler.com/Fire/Setup/Linux/Earth The system may prompt to install the required GNOME runtime from Flathub during the first installation. ```text Required runtime for com.remobjects.earth … found in remote flathub. Do you want to install it? [Y/n]: ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/Process Starts the process. ```APIDOC ## Start ### Description Starts the process. ### Returns - **Boolean** - Returns true if the process started successfully. ``` -------------------------------- ### Start Method Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Cmd Starts the specified command without waiting for it to complete. ```Oxygene method Start: error ``` ```C# error Start() ``` ```Swift func Start() -> error ``` ```Go func Start() error ``` ```Mercury Function Start() As error ``` -------------------------------- ### Start Property Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Prog Accesses the starting instruction index. ```Oxygene var Start: int; ``` ```C# int Start ``` ```Swift var Start: int ``` ```Go Start int ``` ```Mercury FIELD Start() As int ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Timer Starts the timer execution. ```APIDOC ## Start ### Description Starts the timer to begin triggering the callback at the defined interval. ``` -------------------------------- ### start Source: https://docs.elementscompiler.com/API/IslandRTL/Interfaces/HTMLOListElement Gets or sets the starting value of the ordered list. ```APIDOC ## Property start ### Description Gets or sets the starting value of the ordered list. ### Type Int64 (Read/Write) ``` -------------------------------- ### setup() Source: https://docs.elementscompiler.com/API/EUnit/Classes/XCTestCase Initializes the test environment. ```APIDOC ## setup() ### Description Performs general setup tasks for the test case. ``` -------------------------------- ### Start Property Source: https://docs.elementscompiler.com/API/CooperBaseLibrary/Classes/Index Gets an Index representing the start of a collection. ```Oxygene class property Start: Index read; ``` ```C# class Index Start { get; } ``` ```Swift static var Start: Index { get{} } ``` ```Java class Index Start { __get; } ``` ```Mercury Shared ReadOnly Property Start() As Index ``` -------------------------------- ### start Property Source: https://docs.elementscompiler.com/API/IslandRTL/Interfaces/HTMLOListElement Gets or sets the starting value of an ordered list. ```Oxygene property start: Int64 read write; ``` ```C# Int64 start { get; set; } ``` ```Swift var start: Int64 { get{} set{} } ``` ```Java Int64 start { __get; __set; } ``` ```Mercury Property start() As Int64 ``` -------------------------------- ### SetupAction() Source: https://docs.elementscompiler.com/API/EUnit/Classes/SetupAction Initializes a new instance of the SetupAction class. ```APIDOC ## SetupAction() ### Description Initializes a new instance of the SetupAction class with default settings. ``` -------------------------------- ### Get Last Index of Substring with Start Index Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/String Finds the last occurrence of a substring starting search from a specific index. ```Oxygene method LastIndexOf(Value: String; aStartFromIndex: Int32): Int32 ``` ```C# Int32 LastIndexOf(String Value, Int32 aStartFromIndex) ``` ```Swift func LastIndexOf(_ Value: String, _ aStartFromIndex: Int32) -> Int32 ``` ```Java Int32 LastIndexOf(String Value, Int32 aStartFromIndex) ``` ```Mercury Function LastIndexOf(Value As String, aStartFromIndex As Int32) As Int32 ``` -------------------------------- ### Initialize Process with Parameters Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/Process Creates a new instance with specified command, arguments, environment, and working directory. ```Oxygene constructor(aCommand: String; aArguments: ImmutableList; aEnvironment: ImmutableDictionary; aWorkingDirectory: String) ``` ```C# Process(String aCommand, ImmutableList aArguments, ImmutableDictionary aEnvironment, String aWorkingDirectory) ``` ```Swift init(_ aCommand: String, _ aArguments: ImmutableList, _ aEnvironment: ImmutableDictionary, _ aWorkingDirectory: String) ``` ```Java Process(String aCommand, ImmutableList aArguments, ImmutableDictionary aEnvironment, String aWorkingDirectory) ``` ```Mercury Sub New(aCommand As String, aArguments As ImmutableList, aEnvironment As ImmutableDictionary, aWorkingDirectory As String) ``` -------------------------------- ### Start() Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Cmd Starts the specified command without waiting for it to complete. ```APIDOC ## Start() ### Description Begins execution of the command without blocking the calling thread. ### Returns - **error** - Returns an error if the command fails to start. ``` -------------------------------- ### Initialize Server with Parameters Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Server%28go.net.http.httptest%29 Constructors for creating a Server instance with specific configuration parameters. ```Oxygene // .NET, .NET Standard 2.0 constructor(aURL: string; aListener: Listener; aTLS: Memory; aConfig: Memory; acertificate: Memory; awg: WaitGroup; amu: Mutex; aclosed: Boolean; aconns: Map; aclient: Memory) // Island constructor(aURL: string; aListener: Listener; aTLS: Memory; aConfig: Memory; acertificate: Memory; awg: WaitGroup; amu: Mutex; aclosed: bool; aconns: Map; aclient: Memory) ``` ```C# // .NET, .NET Standard 2.0 Server(string aURL, Listener aListener, Memory aTLS, Memory aConfig, Memory acertificate, WaitGroup awg, Mutex amu, Boolean aclosed, Map aconns, Memory aclient) // Island Server(string aURL, Listener aListener, Memory aTLS, Memory aConfig, Memory acertificate, WaitGroup awg, Mutex amu, bool aclosed, Map aconns, Memory aclient) ``` ```Swift // .NET, .NET Standard 2.0 init(_ aURL: string, _ aListener: Listener, _ aTLS: Memory, _ aConfig: Memory, _ acertificate: Memory, _ awg: WaitGroup, _ amu: Mutex, _ aclosed: Boolean, _ aconns: Map, _ aclient: Memory) // Island init(_ aURL: string, _ aListener: Listener, _ aTLS: Memory, _ aConfig: Memory, _ acertificate: Memory, _ awg: WaitGroup, _ amu: Mutex, _ aclosed: bool, _ aconns: Map, _ aclient: Memory) ``` ```Mercury // .NET, .NET Standard 2.0 Sub New(aURL As string, aListener As Listener, aTLS As Memory, aConfig As Memory, acertificate As Memory, awg As WaitGroup, amu As Mutex, aclosed As Boolean, aconns As Map, aclient As Memory) // Island Sub New(aURL As string, aListener As Listener, aTLS As Memory, aConfig As Memory, acertificate As Memory, awg As WaitGroup, amu As Mutex, aclosed As bool, aconns As Map, aclient As Memory) ``` -------------------------------- ### Get Start Index of Joined Unicode Character Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/String Retrieves the starting index of a joined Unicode character at the specified position. ```Oxygene Int32 StartIndexOfJoinedUnicodeCharacterAtIndex(Int32 aIndex) ``` ```C# func StartIndexOfJoinedUnicodeCharacterAtIndex(_ aIndex: Int32) -> Int32 ``` ```Swift Integer StartIndexOfJoinedUnicodeCharacterAtIndex(Integer aIndex) ``` ```Java Function StartIndexOfJoinedUnicodeCharacterAtIndex(aIndex As Int32) As Int32 ``` -------------------------------- ### Get Start Index of Joined Unicode Character Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/String Retrieves the starting index of a joined Unicode character at a given position. ```Oxygene method StartIndexOfJoinedUnicodeCharacterAtIndex(aIndex: Int32): Int32 ``` -------------------------------- ### FromStart Method Source: https://docs.elementscompiler.com/API/IslandRTL/Records/Index Creates an Index from the start of a collection. ```Oxygene class method FromStart(value: Int32): Index ``` ```C# static Index FromStart(Int32 value) ``` ```Swift static func FromStart(_ value: Int32) -> Index ``` ```Java static Index FromStart(Int32 value) ``` ```Mercury Shared Function FromStart(value As Int32) As Index ``` -------------------------------- ### Prepare Method Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/DbCommand Initializes the command. ```Oxygene Sub Prepare() ``` -------------------------------- ### ToByteArray Source: https://docs.elementscompiler.com/API/IslandRTL/Records/Guid Gets the byte array equivalent of the current GUID. ```APIDOC ## ToByteArray ### Description Gets the byte[] equivalent of a guid. ### Signature `method ToByteArray: array of Byte` ``` -------------------------------- ### Start Server Listening Source: https://docs.elementscompiler.com/API/InternetPack/Classes/AsyncServer Initiates the server to start listening for incoming connections. ```Oxygene method Open ``` ```C# void Open() ``` ```Swift func Open() ``` ```Mercury Sub Open() ``` -------------------------------- ### StartTime Property Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Stopwatch Gets or sets the start time of the stopwatch. ```APIDOC ## StartTime ### Description Gets or sets the start time of the stopwatch as a DateTime object. ### Type `DateTime` (Read/Write) ``` -------------------------------- ### Setup Method Source: https://docs.elementscompiler.com/API/InternetPack/Classes/AsyncWorker Disconnects an asynchronous client and attempts to reconnect it. ```Oxygene method Setup ``` ```C# void Setup() ``` ```Swift func Setup() ``` ```Mercury Sub Setup() ``` -------------------------------- ### Start() Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/Task Initiates the execution of the task. ```APIDOC ## Start() ### Description Starts the execution of the task. ``` -------------------------------- ### StartRow Property Source: https://docs.elementscompiler.com/API/Cirrus/Classes/Position Gets or sets the starting row of the position. ```Oxygene property StartRow: Int32 read write; ``` ```C# Int32 StartRow { get; set; } ``` ```Swift var StartRow: Int32 { get{} set{} } ``` ```Java Int32 StartRow { __get; __set; } ``` ```Mercury Property StartRow() As Int32 ``` -------------------------------- ### Initialize Method Source: https://docs.elementscompiler.com/API/DelphiRTL/Classes/THighDPI Initializes the high-DPI support environment. ```Oxygene class method Initialize ``` ```C# static void Initialize() ``` ```Swift static func Initialize() ``` ```Mercury Shared Sub Initialize() ``` -------------------------------- ### ServeTLS Method Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Server%28go.net.http%29 Starts the server using the provided listener and TLS certificate files. ```Oxygene method ServeTLS(l: Listener; certFile: string; keyFile: string): error ``` ```C# error ServeTLS(Listener l, string certFile, string keyFile) ``` ```Swift func ServeTLS(_ l: Listener, _ certFile: string, _ keyFile: string) -> error ``` ```Go func ServeTLS(l Listener, certFile string, keyFile string) error ``` ```Mercury Function ServeTLS(l As Listener, certFile As string, keyFile As string) As error ``` -------------------------------- ### StartCol Property Source: https://docs.elementscompiler.com/API/Cirrus/Classes/Position Gets or sets the starting column of the position. ```Oxygene property StartCol: Int32 read write; ``` ```C# Int32 StartCol { get; set; } ``` ```Swift var StartCol: Int32 { get{} set{} } ``` ```Java Int32 StartCol { __get; __set; } ``` ```Mercury Property StartCol() As Int32 ``` -------------------------------- ### Serve Method Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Server%28go.net.http%29 Starts the server using the provided listener. ```Oxygene method Serve(l: Listener): error ``` ```C# error Serve(Listener l) ``` ```Swift func Serve(_ l: Listener) -> error ``` ```Go func Serve(l Listener) error ``` ```Mercury Function Serve(l As Listener) As error ``` -------------------------------- ### Get Substring by Range Source: https://docs.elementscompiler.com/API/Sugar/Classes/StringBuilder Returns a substring defined by a starting position and length. ```Oxygene method Substring(StartIndex: Int32; Count: Int32): String ``` ```C# String Substring(Int32 StartIndex, Int32 Count) ``` ```Swift func Substring(_ StartIndex: Int32, _ Count: Int32) -> String ``` ```Java String Substring(Int32 StartIndex, Int32 Count) ``` ```Mercury Function Substring(StartIndex As Int32, Count As Int32) As String ``` -------------------------------- ### Access Range Location property Source: https://docs.elementscompiler.com/API/ElementsRTL/Records/Range Gets or sets the starting location of the range. ```Oxygene property Location: Int32 read write; ``` ```C# Int32 Location { get; set; } ``` ```Swift var Location: Int32 { get{} set{} } ``` ```Java Integer Location { __get; __set; } ``` ```Mercury Property Location() As Int32 ``` -------------------------------- ### Initialize with Connection and Headers Source: https://docs.elementscompiler.com/API/InternetPack/Classes/HttpIncomingRequestResponse Constructs an instance using a specific connection and header set. ```Oxygene constructor(connection: Connection; headers: HttpHeaders) ``` ```C# HttpIncomingRequestResponse(Connection connection, HttpHeaders headers) ``` ```Swift init(_ connection: Connection, _ headers: HttpHeaders) ``` ```Mercury Sub New(connection As Connection, headers As HttpHeaders) ``` -------------------------------- ### Access StartTime Property Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Stopwatch Gets or sets the start time as a DateTime object. ```Oxygene property StartTime: DateTime read write; ``` ```C# DateTime StartTime { get; set; } ``` ```Swift var StartTime: DateTime { get{} set{} } ``` ```Java DateTime StartTime { __get; __set; } ``` ```Mercury Property StartTime() As DateTime ``` -------------------------------- ### Implement Setup method Source: https://docs.elementscompiler.com/API/EUnit/Classes/Test Called before each test method when overridden. ```Oxygene method Setup ``` ```C# void Setup() ``` ```Swift func Setup() ``` ```Java void Setup() ``` ```Mercury Sub Setup() ``` -------------------------------- ### Get Substring with Length Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/StringBuilder Returns a substring starting from the specified index with a defined length. ```Oxygene method Substring(StartIndex: Int32; Count: Int32): String ``` ```C# String Substring(Int32 StartIndex, Int32 Count) ``` ```Swift func Substring(_ StartIndex: Int32, _ Count: Int32) -> String ``` ```Java String Substring(Integer StartIndex, Integer Count) ``` ```Visual Basic Function Substring(StartIndex As Int32, Count As Int32) As String ``` -------------------------------- ### Initialize Server Instance Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Server%28go.net.http.httptest%29 Constructors for creating a new Server instance. ```Oxygene constructor ``` ```C# Server() ``` ```Swift init() ``` ```Mercury Sub New() ``` -------------------------------- ### Start Rendering Source: https://docs.elementscompiler.com/API/IslandRTL/Interfaces/OfflineAudioContext Starts the audio rendering process based on current connections and scheduled changes. ```Oxygene method startRendering: dynamic ``` ```C# dynamic startRendering() ``` ```Swift func startRendering() -> dynamic ``` ```Java dynamic startRendering() ``` ```Mercury Function startRendering() As dynamic ``` -------------------------------- ### Get Substring from Index Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/StringBuilder Returns a substring starting from the specified index to the end of the string. ```Oxygene method Substring(StartIndex: Int32): String ``` ```C# String Substring(Int32 StartIndex) ``` ```Swift func Substring(_ StartIndex: Int32) -> String ``` ```Java String Substring(Integer StartIndex) ``` ```Visual Basic Function Substring(StartIndex As Int32) As String ``` -------------------------------- ### Implement application:didFinishLaunchingWithOptions Source: https://docs.elementscompiler.com/Tutorials/FirstApp/Fire/tvOS The entry point method for application initialization, returning true to indicate successful launch. ```Oxygene method AppDelegate.application(application: UIApplication) didFinishLaunchingWithOptions(launchOptions: NSDictionary): Boolean; begin result := true; end; ``` ```C# public BOOL application(UIApplication application) didFinishLaunchingWithOptions(NSDictionary launchOptions) { return true; } ``` ```Swift func application(_ application: UIApplication!, didFinishLaunchingWithOptions launchOptions: NSDictionary!) -> Bool { return true } ``` -------------------------------- ### Get suffix from index Source: https://docs.elementscompiler.com/API/SwiftBaseLibrary/Interfaces/CollectionType-SubSequence%2CIndex%2CDistance%2CElement- Returns a sub-sequence containing elements starting from the specified index to the end. ```Oxygene method suffix from(from: not nullable Index): not nullable SubSequence ``` ```C# SubSequence! suffix from(Index! from) ``` ```Swift func suffix(from: Index) -> SubSequence ``` ```Java SubSequence suffix from(Index from) ``` ```Mercury Function suffix from(from As Index) As SubSequence ``` -------------------------------- ### Recommended Deployment File Structure Source: https://docs.elementscompiler.com/Platforms/WebAssembly/Deployment/Web Example directory layout for hosting a WebAssembly module alongside its required JavaScript glue code. ```text ./index.html ./wasm/RemObjectsElements.js ./wasm/MyModule.js ./wasm/MyModule.wasm ``` -------------------------------- ### Start Method Source: https://docs.elementscompiler.com/API/CooperBaseLibrary/Classes/Task Starts the task execution using the specified executor scheduler. ```Oxygene method Start(aScheduler: Executor) ``` ```C# void Start(Executor aScheduler) ``` ```Swift func Start(_ aScheduler: Executor) ``` ```Java void Start(Executor aScheduler) ``` -------------------------------- ### Constructor with Formatting and Strings Options Source: https://docs.elementscompiler.com/API/DelphiRTL/Classes/TSubItems Initializes a new instance with quote, delimiter, and additional string options. ```Oxygene constructor(aQuoteChar: Char; aDelimiter: Char; aOptions: TStringsOptions) ``` ```C# TSubItems(Char aQuoteChar, Char aDelimiter, TStringsOptions aOptions) ``` ```Swift init(_ aQuoteChar: Char, _ aDelimiter: Char, _ aOptions: TStringsOptions) ``` ```Mercury Sub New(aQuoteChar As Char, aDelimiter As Char, aOptions As TStringsOptions) ``` -------------------------------- ### Get Instance Offset Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/FieldInfo Returns the offset of an instance field relative to the start of the class or record. ```Oxygene property InstanceOffset: Int32 read; ``` ```C# Int32 InstanceOffset { get; } ``` ```Swift var InstanceOffset: Int32 { get{} } ``` ```Java Int32 InstanceOffset { __get; } ``` ```Mercury ReadOnly Property InstanceOffset() As Int32 ``` -------------------------------- ### Connect and List Directory Source: https://docs.elementscompiler.com/API/InternetPack/Classes/FtpClient Demonstrates initializing an FtpClient, connecting to a server, and iterating through the contents of the root directory. ```C# var ftpCilent = new FtpClient() { HostAddress = IPAddress.Parse("192.168.0.100"), Port = 2211, UserName = "%your_login%", Password = "%your_password%", ShowHiddenFiles = true }; ftpCilent.Open(); ftpCilent.Login(); ftpCilent.List(); // default is root directory foreach (FtpListingItem item in ftpCilent.CurrentDirectoryContents) { Console.WriteLine(item.FileName); } ``` -------------------------------- ### Getting the start time Source: https://docs.elementscompiler.com/API/IslandRTL/Interfaces/SVGAnimateTransformElement Returns the begin time in seconds for the current animation interval. Throws an INVALID_STATE_ERR if no interval exists. ```Oxygene method getStartTime: Double ``` ```C# Double getStartTime() ``` ```Swift func getStartTime() -> Double ``` ```Java Double getStartTime() ``` ```Mercury Function getStartTime() As Double ``` -------------------------------- ### Initialize and Access URL Components Source: https://docs.elementscompiler.com/API/Sugar/Classes/Url Example showing how to instantiate a new Url object and access its host, path, and scheme properties. ```Oxygene var Url := new Sugar.Url("http://example.com/index.html"); writeLn(Url.Host); writeLn(Url.Path); writeLn(Url.Scheme); ``` -------------------------------- ### SetupTestAction() Source: https://docs.elementscompiler.com/API/EUnit/Classes/SetupTestAction Initializes a new instance of the SetupTestAction class. ```APIDOC ## SetupTestAction() ### Description Initializes a new instance of the SetupTestAction class. ### Signature `SetupTestAction()` ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Global%28go.runtime.trace%29 Starts the tracing process. ```APIDOC ## Start ### Description Starts the tracing process. ### Parameters - **w** (Writer) - The writer to output trace data. ``` -------------------------------- ### SetupAction(Boolean RunAlways) Source: https://docs.elementscompiler.com/API/EUnit/Classes/SetupAction Initializes a new instance of the SetupAction class with a specified execution behavior. ```APIDOC ## SetupAction(Boolean RunAlways) ### Description Initializes a new instance of the SetupAction class. ### Parameters - **RunAlways** (Boolean) - Determines if the action should always run. ``` -------------------------------- ### Initialize with a file name Source: https://docs.elementscompiler.com/API/Sugar/Classes/SugarFileNotFoundException Constructs a new instance specifying the name of the missing file. ```Oxygene constructor(aFileName: String) ``` ```C# SugarFileNotFoundException(String aFileName) ``` ```Swift init(_ aFileName: String) ``` ```Java SugarFileNotFoundException(String aFileName) ``` ```Mercury Sub New(aFileName As String) ``` -------------------------------- ### Initialize SameSite instance Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Records/SameSite Default constructors for creating a new SameSite instance. ```Oxygene constructor ``` ```C# SameSite() ``` ```Swift init() ``` ```Mercury Sub New() ``` -------------------------------- ### Server Constructor with Configuration Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Server%28go.golang.org.x.net.websocket%29 Initializes a new Server instance with specific configuration, handshake logic, and handler. ```Oxygene constructor(aConfig: Config; aHandshake: Func, Memory, error>; aHandler: Handler) ``` ```C# Server(Config aConfig, Func, Memory, error> aHandshake, Handler aHandler) ``` ```Swift init(_ aConfig: Config, _ aHandshake: Func, Memory, error>, _ aHandler: Handler) ``` ```Mercury // .NET, .NET Standard 2.0, Island-watchOS-armv7k Sub New(aConfig As Config, aHandshake As Func (Of Memory, Memory, error), aHandler As Handler) // Island-Android, Island-iOS Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-macOS, Island-tvOS Simulator, Island-tvOS-arm64, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows Sub New(aConfig As Config, aHandshake As Func, Memory, error>, aHandler As Handler) ``` -------------------------------- ### Setup test environment Source: https://docs.elementscompiler.com/API/EUnit/Classes/XCTestCase Initializes the test environment. ```Oxygene method setup ``` ```C# void setup() ``` ```Swift func setup() ``` ```Java void setup() ``` ```Mercury Sub setup() ``` -------------------------------- ### Start Property Source: https://docs.elementscompiler.com/API/IslandRTL/Records/Index Represents the start index. ```Oxygene class property Start: Index read; ``` ```C# class Index Start { get; } ``` ```Swift static var Start: Index { get{} } ``` -------------------------------- ### Timer Start Method Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/Timer Starts the timer. ```Oxygene method Start ``` ```C# void Start() ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Interfaces/Auth Initiates the authentication process with the provided server information. ```APIDOC ## Start ### Description Initiates the authentication process using the provided server configuration. ### Parameters - **server** (Memory) - Required - The server information required to start authentication. ### Returns - **proto** (string) - The authentication protocol string. - **toServer** (Slice) - The initial data to send to the server. - **err** (error) - Error object if the operation fails. ``` -------------------------------- ### Constructor (String, Uri) Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/XmlNamespace Initializes a new instance with a prefix and Uri object. ```Oxygene constructor(aPrefix: String; aUri: not nullable Uri) ``` ```C# XmlNamespace(String aPrefix, Uri! aUri) ``` ```Swift init(_ aPrefix: String, _ aUri: Uri) ``` -------------------------------- ### Start Method Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Stopwatch Starts the stopwatch timer. ```APIDOC ## Start ### Description Starts the stopwatch timer. ### Signature `void Start()` ``` -------------------------------- ### Constructor with Format and Parameters Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/ArgumentOutOfRangeException Initializes a new instance with a format string and variable parameters. ```Oxygene constructor(aFormat: String; params aParams: array of Object) ``` ```C# ArgumentOutOfRangeException(String aFormat, params Object[] aParams) ``` ```Swift init(_ aFormat: String, _ aParams: Object...) ``` ```Java ArgumentOutOfRangeException(String aFormat, Object[]... aParams) ``` ```Mercury Sub New(aFormat As String, ParamArray aParams As Object()) ``` -------------------------------- ### Encode Guid Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Coder Encodes a GUID value. ```Oxygene method EncodeGuid(aName: String; aValue: nullable Guid) ``` ```C# void EncodeGuid(String aName, Guid? aValue) ``` ```Swift // Toffee func EncodeGuid(_ aName: String, _ aValue: Guid) // ToffeeV2 func EncodeGuid(_ aName: String, _ aValue: Guid?) ``` ```Java void EncodeGuid(String aName, Guid aValue) ``` ```Mercury Sub EncodeGuid(aName As String, aValue As Guid?) ``` -------------------------------- ### Initialize VM with Instructions Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/VM Constructs a new VM instance initialized with a specific slice of instructions. ```Oxygene constructor(afilter: Slice) ``` ```C# VM(Slice afilter) ``` ```Swift init(_ afilter: Slice) ``` ```Mercury Sub New(afilter As Slice) ``` -------------------------------- ### Constructor with Parameters Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/ComObjectFactory Initializes a new instance with specific COM server, class, ID, and threading model details. ```Oxygene constructor(aComServer: ComServerObject; aComClass: Type; aClassID: Guid; aName: String; aDescription: String; aInstancing: ClassInstancing; aThreadingModel: ThreadingModel := ThreadingModel.Single) ``` ```C# ComObjectFactory(ComServerObject aComServer, Type aComClass, Guid aClassID, String aName, String aDescription, ClassInstancing aInstancing, ThreadingModel aThreadingModel = ThreadingModel.Single) ``` ```Swift init(_ aComServer: ComServerObject, _ aComClass: Type, _ aClassID: Guid, _ aName: String, _ aDescription: String, _ aInstancing: ClassInstancing, _ aThreadingModel: ThreadingModel = ThreadingModel.Single) ``` ```Java ComObjectFactory(ComServerObject aComServer, Type aComClass, Guid aClassID, String aName, String aDescription, ClassInstancing aInstancing, ThreadingModel aThreadingModel) ``` ```Mercury Sub New(aComServer As ComServerObject, aComClass As Type, aClassID As Guid, aName As String, aDescription As String, aInstancing As ClassInstancing, aThreadingModel As ThreadingModel = ThreadingModel.Single) ``` -------------------------------- ### Set Start Source: https://docs.elementscompiler.com/API/IslandRTL/Interfaces/Range Sets the start position of a Range. ```Oxygene method setStart(parstartNode: dynamic; parstartOffset: dynamic): String ``` ```C# String setStart(dynamic parstartNode, dynamic parstartOffset) ``` ```Swift func setStart(_ parstartNode: dynamic, _ parstartOffset: dynamic) -> String ``` ```Java String setStart(dynamic parstartNode, dynamic parstartOffset) ``` ```Mercury Function setStart(parstartNode As dynamic, parstartOffset As dynamic) As String ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/Thread Starts the thread execution with an optional parameter. ```APIDOC ## Start ### Description Starts the thread; passing parameter to the callback. ### Parameters - **parameter** (Object) - Optional - The parameter to pass to the callback. ``` -------------------------------- ### Intermediate Folder Path Example (Windows) Source: https://docs.elementscompiler.com/EBuild/Building/Caching Example path structure for the Intermediate Folder on Windows when using a local project-parallel directory. ```text C:\Code\MyApp\obj\Debug\Toffee-macOS ``` -------------------------------- ### Constructor with Format String and Parameters Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/InvalidOperationException Initializes a new instance with a format string and a variable number of arguments. ```Oxygene constructor(aFormat: String; params aParams: array of Object) ``` ```C# InvalidOperationException(String aFormat, params Object[] aParams) ``` ```Swift init(_ aFormat: String, _ aParams: Object...) ``` ```Java InvalidOperationException(String aFormat, Object[]... aParams) ``` ```Mercury Sub New(aFormat As String, ParamArray aParams As Object()) ``` -------------------------------- ### Entrypoint Method Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/Global%28RemObjects.Elements.System%29 Main entry point for Posix platforms. ```Oxygene class method Entrypoint(argc: Int32; argv: ^^AnsiChar; _envp: ^^AnsiChar): Int32 ``` ```C# static Int32 Entrypoint(Int32 argc, AnsiChar** argv, AnsiChar** _envp) ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/CooperBaseLibrary/Classes/NonThreadedTask1-T- Starts the task using the specified scheduler. ```APIDOC ## Start ### Description Starts the task using the specified scheduler. ### Signature void Start(Executor aScheduler) ### Parameters - **aScheduler** (Executor) - The scheduler to use. ``` -------------------------------- ### GetMethodStart Method Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/Type Returns the start pointer for method metadata. ```Oxygene class method GetMethodStart: ^IslandMethodUIDInfo ``` ```C# static IslandMethodUIDInfo* GetMethodStart() ``` ```Swift static func GetMethodStart() -> UnsafeMutablePointer ``` ```Java static IslandMethodUIDInfo* GetMethodStart() ``` ```Mercury Shared Function GetMethodStart() As Ptr(Of IslandMethodUIDInfo) ``` -------------------------------- ### Start Property Source: https://docs.elementscompiler.com/API/CooperBaseLibrary/Classes/Range Retrieves the start index of the range. ```Oxygene property Start: Index read; ``` ```C# Index Start { get; } ``` ```Swift var Start: Index { get{} } ``` ```Java Index Start { __get; } ``` ```Mercury ReadOnly Property Start() As Index ``` -------------------------------- ### Start Property Source: https://docs.elementscompiler.com/API/Cirrus/Classes/ForStatement Defines the starting value of the loop. ```Oxygene property Start: Value read write; ``` ```C# Value Start { get; set; } ``` ```Swift var Start: Value { get{} set{} } ``` ```Java Value Start { __get; __set; } ``` ```Mercury Property Start() As Value ``` -------------------------------- ### StartTLS() Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Server%28go.net.http.httptest%29 Initializes TLS for the server instance. ```APIDOC ## StartTLS ### Description Initializes TLS for the server instance. ### Method `func StartTLS()` ``` -------------------------------- ### Slice a span by start index Source: https://docs.elementscompiler.com/API/IslandRTL/Records/ImmutableSpan-T- Returns a new span starting from the specified index. Fails if the start index exceeds the original span length. ```Oxygene method Slice(aStart: Int32): ImmutableSpan ``` ```C# ImmutableSpan Slice(Int32 aStart) ``` ```Swift func Slice(_ aStart: Int32) -> ImmutableSpan ``` ```Java ImmutableSpan Slice(Int32 aStart) ``` ```Mercury Function Slice(aStart As Int32) As ImmutableSpan ``` -------------------------------- ### Serve Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Server%28go.net.http%29 Starts the server using the provided listener. ```APIDOC ## Serve ### Description Starts the server using the provided listener. ### Parameters - **l** (Listener) - The listener to accept connections from. ### Returns - **error** - Returns an error if the server fails to start or encounters a runtime error. ``` -------------------------------- ### Index Start Property Source: https://docs.elementscompiler.com/API/IslandRTL/Records/Index Represents the starting index definition. ```Oxygene class Index Start { __get; } ``` ```Mercury Shared ReadOnly Property Start() As Index ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Interfaces/IWaitSendMessage Starts the waiting operation with a specified notifier function. ```APIDOC ## Start ### Description Starts the waiting operation with a specified notifier function. ### Signature `Boolean Start(Func, Boolean> aNotifier)` ### Parameters - **aNotifier** (Func, Boolean>) - Required - The notifier function used during the wait process. ``` -------------------------------- ### Define the main entry point Source: https://docs.elementscompiler.com/Tutorials/FirstApp/Fire/NET Examples of the entry point implementation for different languages. ```Oxygene class method Program.Main(args: array of String): Int32; begin writeLn('The magic happens here.'); end; ``` ```C# public static Int32 Main(string[] args) { Console.WriteLine("The magic happens here."); return 0; } ``` ```Swift println("The magic happens here.") ``` -------------------------------- ### ListenAndServeTLS Method Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Server%28go.net.http%29 Starts the HTTPS server using the provided certificate and key files. ```Oxygene method ListenAndServeTLS(certFile: string; keyFile: string): error ``` ```C# error ListenAndServeTLS(string certFile, string keyFile) ``` ```Swift func ListenAndServeTLS(_ certFile: string, _ keyFile: string) -> error ``` ```Go func ListenAndServeTLS(certFile string, keyFile string) error ``` ```Mercury Function ListenAndServeTLS(certFile As string, keyFile As string) As error ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/ReceiveMessage-T- Starts the message reception process with a notifier callback. ```APIDOC ## Method: Start ### Signature `Boolean Start(Func, Boolean> aNotifier)` ### Parameters - **aNotifier** (Func, Boolean>) - A callback function used to notify the status of the reception. ``` -------------------------------- ### Implement SetupTest method Source: https://docs.elementscompiler.com/API/EUnit/Classes/Test Called before the first test method when overridden. ```Oxygene method SetupTest ``` ```C# void SetupTest() ``` ```Swift func SetupTest() ``` ```Java void SetupTest() ``` ```Mercury Sub SetupTest() ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/CooperBaseLibrary/Classes/Task Starts the execution of the task using the specified executor. ```APIDOC ## Start(Executor aScheduler) ### Description Starts the task execution. ### Parameters - **aScheduler** (Executor) - The executor to run the task on. ``` -------------------------------- ### Initialize Source: https://docs.elementscompiler.com/API/DelphiRTL/Classes/TApplication Initializes the application instance. ```APIDOC ## Initialize() ### Description Performs initialization tasks for the application. ``` -------------------------------- ### Initialize Client Instance Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Client%28go.golang.org.x.net.dict%29 Default constructor for creating a new Client instance. ```Oxygene constructor ``` ```C# Client() ``` ```Swift init() ``` ```Mercury Sub New() ``` -------------------------------- ### Access the Start property Source: https://docs.elementscompiler.com/API/CooperBaseLibrary/Classes/Index Retrieves the starting index reference. ```Oxygene static var Start: Index { get{} } ``` ```C# class Index Start { __get; } ``` ```Mercury Shared ReadOnly Property Start() As Index ``` -------------------------------- ### Implementing the full onCreate method Source: https://docs.elementscompiler.com/Tutorials/FirstApp/Fire/Android The complete onCreate method setup including layout inflation and event listener assignment. ```Oxygene method MainActivity.onCreate(savedInstanceState: Bundle); begin inherited; // Set our view from the "main" layout resource ContentView := R.layout.main; var button := findViewById(R.id.sayHelloButton) as EditText; button.OnClickListener := method (v: View) begin var nameField := findViewById(R.id.nameField) as EditText; var helloText := findViewById(R.id.helloText) as TextView; helloText.Text := 'Hello from Silver, '+nameField.Text; end; end; ``` ```C# public override void onCreate(Bundle savedInstanceState) { base.onCreate(savedInstanceState); // Set our view from the "main" layout resource ContentView = R.layout.main; var button = findViewById(R.id.sayHelloButton) as Button; button.OnClickListener = (View v) => { var nameField = findViewById(R.id.nameField) as EditText; var helloText = findViewById(R.id.helloText) as TextView; helloText.Text = "Hello from Silver, "+nameField.Text; }; } ``` ```Swift public override func onCreate(_ savedInstanceState: Bundle!) { super.onCreate(savedInstanceState) // Set our view from the "main" layout resource ContentView = R.layout.main let button = findViewById(R.id.sayHelloButton) as! Button button.OnClickListener = { (v: View!) in let nameField = self.findViewById(R.id.nameField) as! EditText let helloText = self.findViewById(R.id.helloText) as! TextView helloText.Text = "Hello from Silver, "+nameField.Text } } ``` -------------------------------- ### Guid Property Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/GuidAttribute Retrieves the GUID value associated with the attribute. ```Oxygene property Guid: Guid read; ``` ```C# Guid Guid { get; } ``` ```Swift var Guid: Guid { get{} } ``` ```Java Guid Guid { __get; } ``` ```Mercury ReadOnly Property Guid() As Guid ``` -------------------------------- ### Guid Size Constant Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Guid Defines the size of a Guid in bytes. ```Oxygene const Size: Int32 = 16 ``` ```C# const Int32 Size = 16 ``` ```Swift static let Size: Int32 = 16 ``` ```Java static final Integer Size = 16 ``` ```Mercury Const Size As Int32 = 16 ``` -------------------------------- ### HashSet Usage Example Source: https://docs.elementscompiler.com/API/Sugar/Classes/HashSet-T- Demonstrates creating a HashSet, adding items, and iterating through them using the ForEach method. ```Oxygene var Readers := new HashSet; Readers.Add("Aiden"); Readers.Add("Jayden"); Readers.Add("Ethan"); writeLn("Readers:"); Readers.ForEach(item -> writeLn(item)); writeLn; var Writers := new HashSet; Writers.Add("Jayden"); Writers.Add("Jacob"); writeLn("Writers:"); Writers.ForEach(item -> writeLn(item)); writeLn; writeLn("All users:"); Writers.ForEach(item -> Readers.Add(item)); Readers.ForEach(item -> writeLn(item)); ``` -------------------------------- ### SetupAction Constructor Source: https://docs.elementscompiler.com/API/EUnit/Classes/SetupAction Initializes a new instance of the SetupAction class. ```Java SetupAction() ``` -------------------------------- ### Self Property Source: https://docs.elementscompiler.com/API/Cirrus/Classes/ProcPtrValue Gets or sets the instance to get this pointer of. ```Oxygene property Self: Value read write; ``` ```C# Value Self { get; set; } ``` ```Swift var Self: Value { get{} set{} } ``` ```Java Value Self { __get; __set; } ``` ```Mercury Property Self() As Value ``` -------------------------------- ### Slice a span by start index and length Source: https://docs.elementscompiler.com/API/IslandRTL/Records/ImmutableSpan-T- Returns a new span starting from the specified index with a given length. Fails if the length or start exceeds the original span. ```Oxygene method Slice(aStart: Int32; aLength: Int32): ImmutableSpan ``` ```C# ImmutableSpan Slice(Int32 aStart, Int32 aLength) ``` ```Swift func Slice(_ aStart: Int32, _ aLength: Int32) -> ImmutableSpan ``` ```Java ImmutableSpan Slice(Int32 aStart, Int32 aLength) ``` ```Mercury Function Slice(aStart As Int32, aLength As Int32) As ImmutableSpan ``` -------------------------------- ### Access the Start property Source: https://docs.elementscompiler.com/API/Sugar/Classes/Group Retrieves the starting position of the captured group. ```Oxygene property Start: Int32 read; ``` ```C# Int32 Start { get; } ``` ```Swift var Start: Int32 { get{} } ``` ```Java Int32 Start { __get; } ``` ```Mercury ReadOnly Property Start() As Int32 ``` -------------------------------- ### Task Start Method Source: https://docs.elementscompiler.com/API/CooperBaseLibrary/Classes/Task Initializes the task with a specific scheduler. ```Oxygene Sub Start(aScheduler As Executor) ``` -------------------------------- ### Substring by Start Index Source: https://docs.elementscompiler.com/API/IslandRTL/Classes/String Extracts a substring starting from a specific index. ```Oxygene method Substring(StartIndex: Int32): not nullable String ``` ```C# String! Substring(Int32 StartIndex) ``` ```Swift func Substring(_ StartIndex: Int32) -> String ``` ```Java String Substring(Int32 StartIndex) ``` ```Mercury Function Substring(StartIndex As Int32) As String ``` -------------------------------- ### Start Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Interfaces/IWaitMessage Starts the wait message operation with a specified notifier function. ```APIDOC ## Start ### Description Starts the wait message operation. Returns a Boolean indicating success. ### Signature `Boolean Start(Func, Boolean> aNotifier)` ### Parameters - **aNotifier** (Func, Boolean>) - Required - The notifier function used during the wait process. ``` -------------------------------- ### Start Method Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Thread Begins execution of the thread. ```Oxygene method Start ``` ```C# void Start() ``` ```Swift func Start() ``` -------------------------------- ### Start Message Processing Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Message-T- Starts the message processing with a notifier function. ```Oxygene method Start(aNotifier: Func, Boolean>): Boolean ``` ```C# Boolean Start(Func, Boolean> aNotifier) ``` ```Swift func Start(_ aNotifier: Func, Boolean>) -> Boolean ``` ```Go func Start(aNotifier Func, Boolean>) Boolean ``` ```Mercury // .NET, .NET Standard 2.0, Island-watchOS-armv7k Function Start(aNotifier As Func (Of Func (Of Boolean), Boolean)) As Boolean // Island-Android, Island-iOS Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-macOS, Island-tvOS Simulator, Island-tvOS-arm64, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows Function Start(aNotifier As Func, Boolean>) As Boolean ``` -------------------------------- ### Binary Usage Example Source: https://docs.elementscompiler.com/API/Sugar/Classes/Binary Demonstrates initializing a Binary object with a byte array, writing additional data, and converting the result to a string. ```Oxygene var Bin := new Sugar.Binary([72, 101, 108, 108, 111]); Bin.Write([32, 87, 111, 114, 108, 100], 6); writeLn(new Sugar.String(Bin.ToArray)); ``` -------------------------------- ### Start tracing Source: https://docs.elementscompiler.com/API/GoBaseLibrary/Classes/Global%28go.runtime.trace%29 Starts the tracing process using the provided writer. ```Oxygene class method Start(w: Writer): error ``` ```C# static error Start(Writer w) ``` ```Swift static func Start(_ w: Writer) -> error ``` ```Go func Start(w Writer) error ``` ```Mercury Shared Function Start(w As Writer) As error ``` -------------------------------- ### start Method Source: https://docs.elementscompiler.com/API/IslandRTL/Interfaces/MediaRecorder Begins recording media, optionally using a timeslice for chunked recording. ```Oxygene method start(partimeslice: dynamic): Int64 ``` ```C# Int64 start(dynamic partimeslice) ``` ```Swift func start(_ partimeslice: dynamic) -> Int64 ``` ```Java Int64 start(dynamic partimeslice) ``` ```Mercury Function start(partimeslice As dynamic) As Int64 ``` -------------------------------- ### Open Source: https://docs.elementscompiler.com/API/InternetPack/Classes/AsyncServer Starts the server listening for connections. ```APIDOC ## Method Open ### Description Causes the server to start listening for connections. Success can be verified using the Active property. ``` -------------------------------- ### Create Empty Guid Source: https://docs.elementscompiler.com/API/Sugar/Records/Guid Creates an instance of the Guid with a value of all zeros. ```Oxygene class method EmptyGuid: Guid ``` ```C# static Guid EmptyGuid() ``` ```Swift static func EmptyGuid() -> Guid ``` ```Java static Guid EmptyGuid() ``` ```Mercury Shared Function EmptyGuid() As Guid ``` -------------------------------- ### Init Method Source: https://docs.elementscompiler.com/API/InternetPack/Classes/Connection Initializes the connection with a socket. ```Oxygene method Init(socket: Socket) ``` ```C# void Init(Socket socket) ``` ```Swift func Init(_ socket: Socket) ``` ```Mercury Sub Init(socket As Socket) ``` -------------------------------- ### Init Method Source: https://docs.elementscompiler.com/API/IslandRTL/Interfaces/ILifetimeStrategy-T- Initializes the destination object. ```Oxygene class method Init(var Dest: T) ``` ```C# static void Init(ref T Dest) ``` ```Swift static func Init(_ Dest: inout T) ``` ```Java static void Init(__ref T Dest) ``` ```Mercury Shared Sub Init(ByRef Dest As T) ``` -------------------------------- ### Read GUID Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/FileStream Reads a GUID from the stream into the provided output parameter. ```Oxygene method ReadGuid(out aResult: Guid): Boolean ``` ```C# Boolean ReadGuid(out Guid aResult) ``` ```Swift func ReadGuid(_ aResult: inout Guid) -> Boolean ``` ```Java Boolean ReadGuid(__out Guid aResult) ``` ```Mercury Function ReadGuid( ByRef aResult As Guid) As Boolean ``` -------------------------------- ### TryParse Guid from String Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Guid Attempts to parse a Guid from a string representation. ```Oxygene class method TryParse(aValue: nullable String): nullable Guid ``` ```C# static Guid? TryParse(String? aValue) ``` ```Swift // Toffee static func TryParse(_ aValue: String) -> Guid // ToffeeV2 static func TryParse(_ aValue: String?) -> Guid? ``` ```Java static Guid TryParse(String aValue) ``` ```Mercury Shared Function TryParse(aValue As String?) As Guid? ``` -------------------------------- ### Dictionary Usage Example Source: https://docs.elementscompiler.com/API/Sugar/Classes/Dictionary-T%2CU- Demonstrates initializing a dictionary, adding items, and iterating through them using ForEach. ```Oxygene var Users := new Dictionary; Users.Add(1, "First"); Users.Add(2, "Second"); Users.Add(3, "Third"); Users.ForEach(item -> writeLn(Sugar.String.Format("Id: {0} Name: {1}", item.Key, item.Value))); ``` -------------------------------- ### Initialize with Headers Source: https://docs.elementscompiler.com/API/InternetPack/Classes/HttpIncomingRequestResponse Constructs an instance using only the provided headers. ```Oxygene constructor(header: HttpHeaders) ``` ```C# HttpIncomingRequestResponse(HttpHeaders header) ``` ```Swift init(_ header: HttpHeaders) ``` ```Mercury Sub New(header As HttpHeaders) ``` -------------------------------- ### TryParse Guid from JsonNode Source: https://docs.elementscompiler.com/API/ElementsRTL/Classes/Guid Attempts to parse a Guid from a JsonNode object. ```Oxygene class method TryParse(aValue: nullable JsonNode): nullable Guid ``` ```C# static Guid? TryParse(JsonNode? aValue) ``` ```Swift // Toffee static func TryParse(_ aValue: JsonNode) -> Guid // ToffeeV2 static func TryParse(_ aValue: JsonNode?) -> Guid? ``` ```Java static Guid TryParse(JsonNode aValue) ``` ```Mercury Shared Function TryParse(aValue As JsonNode?) As Guid? ```