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
Type | Name |
---|---|
ServiceStack.MetadataType | type |
System.String[] | typeNames |
InheritsAny(MetadataType, HashSet<String>)
View Source
Declaration
public static bool InheritsAny(this MetadataType type, HashSet<string> typeNames)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.MetadataType | type |
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
Type | Name |
---|---|
ServiceStack.MetadataType | type |
System.String[] | typeNames |
ImplementsAny(MetadataType, HashSet<String>)
View Source
Declaration
public static bool ImplementsAny(this MetadataType type, HashSet<string> typeNames)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.MetadataType | type |
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
Type | Name |
---|---|
ServiceStack.MetadataOperationType | op |
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
Type | Name |
---|---|
System.Collections.Generic.List<ServiceStack.MetadataOperationType> | operations |
ServiceStack.MetadataType | type |
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
Type | Name |
---|---|
System.Collections.Generic.List<ServiceStack.MetadataOperationType> | operations |
System.String | typeName |
ToScriptSignature(ScriptMethodType)
View Source
Declaration
public static string ToScriptSignature(this ScriptMethodType method)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.ScriptMethodType | method |
GetOperationsByTags(MetadataTypes, String[])
View Source
Declaration
public static List<MetadataOperationType> GetOperationsByTags(this MetadataTypes types, string[] tags)
Returns
System.Collections.Generic.List<ServiceStack.MetadataOperationType>
Parameters
Type | Name |
---|---|
ServiceStack.MetadataTypes | types |
System.String[] | tags |
IsSystemOrServiceStackType(MetadataTypeName)
View Source
Declaration
public static bool IsSystemOrServiceStackType(this MetadataTypeName metaRef)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.MetadataTypeName | metaRef |