Skip to main content

ScriptMethodInfo

Assembly: ServiceStack.Common.dll
View Source
Declaration
public class ScriptMethodInfo

Properties

Name

View Source
Declaration
public string Name { get; }

FirstParam

View Source
Declaration
public string FirstParam { get; }

FirstParamType

View Source
Declaration
public string FirstParamType { get; }

ReturnType

View Source
Declaration
public string ReturnType { get; }

ParamCount

View Source
Declaration
public int ParamCount { get; }

RemainingParams

View Source
Declaration
public string[] RemainingParams { get; }

ParamNames

View Source
Declaration
public string[] ParamNames { get; }

ParamTypes

View Source
Declaration
public string[] ParamTypes { get; }

Return

View Source
Declaration
public string Return { get; }

Body

View Source
Declaration
public string Body { get; }

ScriptSignature

View Source
Declaration
public string ScriptSignature { get; }

Signature

View Source
Declaration
public string Signature { get; }

Methods

GetMethodInfo()

View Source
Declaration
public MethodInfo GetMethodInfo()
Returns

System.Reflection.MethodInfo

GetScriptMethods(Type, Func<MethodInfo, Boolean>)

View Source
Declaration
public static List<ScriptMethodInfo> GetScriptMethods(Type scriptMethodsType, Func<MethodInfo, bool> where = null)
Returns

System.Collections.Generic.List<ServiceStack.Script.ScriptMethodInfo>

Parameters
TypeName
System.TypescriptMethodsType
System.Func<System.Reflection.MethodInfo,System.Boolean>where

Create(MethodInfo)

View Source
Declaration
public static ScriptMethodInfo Create(MethodInfo mi)
Returns

ServiceStack.Script.ScriptMethodInfo

Parameters
TypeName
System.Reflection.MethodInfomi

ToString()

View Source
Declaration
public override string ToString()
Returns

System.String