MetadataUtils
Assembly: ServiceStack.dll
View Source
Declaration
public static class MetadataUtils
Methods
ToAppMetadata(INativeTypesMetadata, IRequest)
View Source
Declaration
public static AppMetadata ToAppMetadata(this INativeTypesMetadata nativeTypesMetadata, IRequest req)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.NativeTypes.INativeTypesMetadata | nativeTypesMetadata |
ServiceStack.Web.IRequest | req |
LocalizeMetadata(IRequest, AppMetadata)
View Source
Declaration
public static void LocalizeMetadata(IRequest req, AppMetadata response)
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
ServiceStack.AppMetadata | response |
AddPluginLink(MetadataFeature, String, String)
View Source
Declaration
public static MetadataFeature AddPluginLink(this MetadataFeature metadata, string href, string title)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.MetadataFeature | metadata |
System.String | href |
System.String | title |
RemovePluginLink(MetadataFeature, String)
View Source
Declaration
public static MetadataFeature RemovePluginLink(this MetadataFeature metadata, string href)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.MetadataFeature | metadata |
System.String | href |
AddDebugLink(MetadataFeature, String, String)
View Source
Declaration
public static MetadataFeature AddDebugLink(this MetadataFeature metadata, string href, string title)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.MetadataFeature | metadata |
System.String | href |
System.String | title |
RemoveDebugLink(MetadataFeature, String)
View Source
Declaration
public static MetadataFeature RemoveDebugLink(this MetadataFeature metadata, string href)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.MetadataFeature | metadata |
System.String | href |