Class UnionTypeModel
Inheritance
System.Object
UnionTypeModel
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 UnionTypeModel : TSType
Constructors
| Improve this Doc View SourceUnionTypeModel()
Declaration
public UnionTypeModel()
Properties
| Improve this Doc View SourceCount
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Types
Declaration
public List<TSType> Types { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<TSType> |
Methods
| Improve this Doc View SourceNew(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()