Class Function
Inheritance
System.Object
Function
Implements
System.Collections.Generic.IEnumerable<
Param>
System.Collections.IEnumerable
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 Function : Declaration, Declaration.Container<Param>, IDeclaration, IEnumerable<Param>, IEnumerable
Constructors
|
Improve this Doc
View Source
Function(XElement, Declaration.Container<Declaration>, TypeScriptDefContext)
Declaration
public Function(XElement elem, Declaration.Container<Declaration> super, TypeScriptDefContext context)
Parameters
|
Improve this Doc
View Source
Function(Declaration.Container<Declaration>)
Declaration
public Function(Declaration.Container<Declaration> super)
Parameters
Properties
|
Improve this Doc
View Source
HasString
Declaration
public bool HasString { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Optional
Declaration
public bool Optional { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Params
Declaration
public List<Param> Params { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<Param> |
|
|
Improve this Doc
View Source
ReturnType
Declaration
public TSType ReturnType { get; set; }
Property Value
|
Improve this Doc
View Source
Static
Declaration
public bool Static { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
AddContent(XElement, TypeScriptDefContext)
Declaration
public void AddContent(XElement content, TypeScriptDefContext context)
Parameters
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<Param> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<Param> |
|
|
Improve this Doc
View Source
GetJSParamsValues()
Declaration
protected IEnumerable<string> GetJSParamsValues()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetJSParamValue(Param)
Declaration
protected string GetJSParamValue(Param p)
Parameters
Type |
Name |
Description |
Param |
p |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Extension Methods