Skip to main content

MetadataTypeExtensions

Assembly: ServiceStack.Client.dll
View Source
Declaration
public static class MetadataTypeExtensions

Methods

InheritsAny(MetadataType, String[])

View Source
Declaration
public static bool InheritsAny(this MetadataType type, params string[] typeNames)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.MetadataTypetype
System.String[]typeNames

InheritsAny(MetadataType, HashSet<String>)

View Source
Declaration
public static bool InheritsAny(this MetadataType type, HashSet<string> typeNames)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.MetadataTypetype
System.Collections.Generic.HashSet<System.String>typeNames

ImplementsAny(MetadataType, String[])

View Source
Declaration
public static bool ImplementsAny(this MetadataType type, params string[] typeNames)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.MetadataTypetype
System.String[]typeNames

ImplementsAny(MetadataType, HashSet<String>)

View Source
Declaration
public static bool ImplementsAny(this MetadataType type, HashSet<string> typeNames)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.MetadataTypetype
System.Collections.Generic.HashSet<System.String>typeNames

ReferencesAny(MetadataOperationType, String[])

View Source
Declaration
public static bool ReferencesAny(this MetadataOperationType op, params string[] typeNames)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.MetadataOperationTypeop
System.String[]typeNames

GetRoutes(List<MetadataOperationType>, MetadataType)

View Source
Declaration
public static List<MetadataRoute> GetRoutes(this List<MetadataOperationType> operations, MetadataType type)
Returns

System.Collections.Generic.List<ServiceStack.MetadataRoute>

Parameters
TypeName
System.Collections.Generic.List<ServiceStack.MetadataOperationType>operations
ServiceStack.MetadataTypetype

GetRoutes(List<MetadataOperationType>, String)

View Source
Declaration
public static List<MetadataRoute> GetRoutes(this List<MetadataOperationType> operations, string typeName)
Returns

System.Collections.Generic.List<ServiceStack.MetadataRoute>

Parameters
TypeName
System.Collections.Generic.List<ServiceStack.MetadataOperationType>operations
System.StringtypeName

ToScriptSignature(ScriptMethodType)

View Source
Declaration
public static string ToScriptSignature(this ScriptMethodType method)
Returns

System.String

Parameters
TypeName
ServiceStack.ScriptMethodTypemethod

GetOperationsByTags(MetadataTypes, String[])

View Source
Declaration
public static List<MetadataOperationType> GetOperationsByTags(this MetadataTypes types, string[] tags)
Returns

System.Collections.Generic.List<ServiceStack.MetadataOperationType>

Parameters
TypeName
ServiceStack.MetadataTypestypes
System.String[]tags

IsSystemOrServiceStackType(MetadataTypeName)

View Source
Declaration
public static bool IsSystemOrServiceStackType(this MetadataTypeName metaRef)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.MetadataTypeNamemetaRef