Table of Contents

Class ImportAttribute

Namespace
CSharpToJavaScript.Utils
Assembly
CSharpToJavaScript.dll

Add a custom import to the file. Useful for basic interop for calling JS code. Can be combined with IgnoreAttribute/ValueAttribute.

[AttributeUsage(AttributeTargets.All)]
public class ImportAttribute : Attribute
Inheritance
ImportAttribute
Inherited Members

Constructors

ImportAttribute(string, string)

public ImportAttribute(string importWhat, string importFrom)

Parameters

importWhat string
importFrom string