IExpressibleByDictionaryLiteral<Key,Value>

Overview

Location

  • Reference:
    • Swift.dll  .NET, .NET Standard 2.0
    • swift.jar  Cooper
    • Swift.fx  Island
    • libSwift.fx  Toffee
  • Namespace: Swift

Required Methods


constructor

 

// .NET, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
constructor dictionaryLiteral(params elements: array of not nullable tuple of(not nullable Key, not nullable Value))
// .NET Standard 2.0
constructor dictionaryLiteral(params elements: array of not nullable ValueTuple<not nullable Key, not nullable Value>)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
constructor dictionaryLiteral(params elements: array of not nullable tuple of(not nullable Key, not nullable Value))

 

// .NET, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
IExpressibleByDictionaryLiteral<Key,Value> dictionaryLiteral(params tuple of(not nullable Key, not nullable Value)![] elements)
// .NET Standard 2.0
IExpressibleByDictionaryLiteral<Key,Value> dictionaryLiteral(params ValueTuple<Key!, Value!>![] elements)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
IExpressibleByDictionaryLiteral<Key,Value> dictionaryLiteral(params tuple of(not nullable Key, not nullable Value)![] elements)

 

init(dictionaryLiteral elements: Tuple2<Key, Value>...)

 

IExpressibleByDictionaryLiteral<Key,Value> dictionaryLiteral(Tuple2<Key!, Value!>![]... elements)

Parameters:

  • elements: