Skip to main content

MetadataFeature

Assembly: ServiceStack.dll
View Source
Declaration
public class MetadataFeature : IPlugin, IHasStringId, IHasId<string>, IPreInitPlugin

Properties

Id

View Source
Declaration
public string Id { get; set; }

PluginLinksTitle

View Source
Declaration
public string PluginLinksTitle { get; set; }
View Source
Declaration
public Dictionary<string, string> PluginLinks { get; set; }

DebugLinksTitle

View Source
Declaration
public string DebugLinksTitle { get; set; }
View Source
Declaration
public Dictionary<string, string> DebugLinks { get; set; }

IndexPageFilter

View Source
Declaration
public Action<IndexOperationsControl> IndexPageFilter { get; set; }

DetailPageFilter

View Source
Declaration
public Action<OperationControl> DetailPageFilter { get; set; }

AppMetadataFilters

View Source
Declaration
public List<Action<AppMetadata>> AppMetadataFilters { get; }

AfterAppMetadataFilters

View Source
Declaration
public List<Action<IRequest, AppMetadata>> AfterAppMetadataFilters { get; }

ShowResponseStatusInMetadataPages

View Source
Declaration
public bool ShowResponseStatusInMetadataPages { get; set; }

ExportTypes

Export built-in Types so they're available from /metadata/app

View Source
Declaration
public List<Type> ExportTypes { get; }

ServiceRoutes

View Source
Declaration
public Dictionary<Type, string[]> ServiceRoutes { get; set; }

HtmlModule

View Source
Declaration
public HtmlModule HtmlModule { get; set; }

EnableNav

View Source
Declaration
public bool EnableNav { get; set; }

EnableAppMetadata

View Source
Declaration
public bool EnableAppMetadata { get; set; }

TagFilter

View Source
Declaration
public Func<string, string> TagFilter { get; set; }

Methods

BeforePluginsLoaded(IAppHost)

View Source
Declaration
public void BeforePluginsLoaded(IAppHost appHost)
Parameters
TypeName
ServiceStack.IAppHostappHost

Register(IAppHost)

View Source
Declaration
public void Register(IAppHost appHost)
Parameters
TypeName
ServiceStack.IAppHostappHost

ProcessRequest(String, String, String)

View Source
Declaration
public virtual IHttpHandler ProcessRequest(string httpMethod, string pathInfo, string filePath)
Returns

System.Web.IHttpHandler

Parameters
TypeName
System.StringhttpMethod
System.StringpathInfo
System.StringfilePath

Implements