Skip to main content

Class Imports

A set of "module exports" that can be imported by a WebAssembly module.

Assembly: WaaS.Core.dll
View Source
Declaration
public sealed class Imports : Dictionary<string, IModuleExports>, IDictionary<string, IModuleExports>, ICollection<KeyValuePair<string, IModuleExports>>, IReadOnlyDictionary<string, IModuleExports>, IReadOnlyCollection<KeyValuePair<string, IModuleExports>>, IEnumerable<KeyValuePair<string, IModuleExports>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable, IImports

Inheritance: System.Object -> System.Collections.Generic.Dictionary<System.String,WaaS.Runtime.IModuleExports>

Implements:

Expand

System.Collections.Generic.IDictionary<System.String,WaaS.Runtime.IModuleExports>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,WaaS.Runtime.IModuleExports>>, System.Collections.Generic.IReadOnlyDictionary<System.String,WaaS.Runtime.IModuleExports>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String,WaaS.Runtime.IModuleExports>>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,WaaS.Runtime.IModuleExports>>, System.Collections.IDictionary, System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, WaaS.Runtime.IImports

Methods

TryGetImportable<T>(string, string, out T?)

View Source
Declaration
public bool TryGetImportable<T>(string moduleName, string name, out T? value) where T : IExternal
Returns

System.Boolean

Parameters
TypeName
System.StringmoduleName
System.Stringname
<T>value
Type Parameters
  • T

Implements

  • System.Collections.Generic.IDictionary<System.String,WaaS.Runtime.IModuleExports>
  • System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,WaaS.Runtime.IModuleExports>>
  • System.Collections.Generic.IReadOnlyDictionary<System.String,WaaS.Runtime.IModuleExports>
  • System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String,WaaS.Runtime.IModuleExports>>
  • System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,WaaS.Runtime.IModuleExports>>
  • System.Collections.IDictionary
  • System.Collections.ICollection
  • System.Collections.IEnumerable
  • System.Runtime.Serialization.IDeserializationCallback
  • System.Runtime.Serialization.ISerializable
  • WaaS.Runtime.IImports