Class Enum
Inheritance
System.Object
Enum
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: OpenSilver.Compiler.TypeScriptDefToCSharp.dll
Syntax
public class Enum : TypeDeclaration, IDeclaration, TSType
Constructors
|
Improve this Doc
View Source
Enum(XElement, Declaration.Container<Declaration>, TypeScriptDefContext)
Declaration
public Enum(XElement elem, Declaration.Container<Declaration> super, TypeScriptDefContext context)
Parameters
|
Improve this Doc
View Source
Enum(Declaration.Container<Declaration>)
Declaration
public Enum(Declaration.Container<Declaration> super)
Parameters
Properties
|
Improve this Doc
View Source
Values
Declaration
public List<string> Values { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Methods
|
Improve this Doc
View Source
Export(TypeScriptDefContext)
Declaration
public override void Export(TypeScriptDefContext context)
Parameters
Overrides
|
Improve this Doc
View Source
New(String)
Declaration
public override string New(string jsObj)
Parameters
Type |
Name |
Description |
System.String |
jsObj |
|
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Implements
Extension Methods