Class AnonymousType
Inheritance
System.Object
AnonymousType
Implements
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()
Namespace: TypeScriptDefToCSharp.Model
Assembly: OpenSilver.Compiler.TypeScriptDefToCSharp.dll
Syntax
public class AnonymousType : TSType
Constructors
| Improve this Doc View SourceAnonymousType()
Declaration
public AnonymousType()
AnonymousType(XElement, TypeScriptDefContext)
Declaration
public AnonymousType(XElement elem, TypeScriptDefContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.Linq.XElement | elem | |
TypeScriptDefContext | context |
Fields
| Improve this Doc View SourceAnonID
Declaration
public static int AnonID
Field Value
Type | Description |
---|---|
System.Int32 |
Anons
Declaration
public static List<AnonymousType> Anons
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<AnonymousType> |
Properties
| Improve this Doc View SourceClass
Declaration
public Class Class { get; set; }
Property Value
Type | Description |
---|---|
Class |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceExport(TypeScriptDefContext)
Declaration
public void Export(TypeScriptDefContext context)
Parameters
Type | Name | Description |
---|---|---|
TypeScriptDefContext | context |
New(String)
Declaration
public string New(string jsObj)
Parameters
Type | Name | Description |
---|---|---|
System.String | jsObj |
Returns
Type | Description |
---|---|
System.String |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()