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; }
PluginLinks
View Source
Declaration
public Dictionary<string, string> PluginLinks { get; set; }
DebugLinksTitle
View Source
Declaration
public string DebugLinksTitle { get; set; }
DebugLinks
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
Type | Name |
---|---|
ServiceStack.IAppHost | appHost |
Register(IAppHost)
View Source
Declaration
public void Register(IAppHost appHost)
Parameters
Type | Name |
---|---|
ServiceStack.IAppHost | appHost |
ProcessRequest(String, String, String)
View Source
Declaration
public virtual IHttpHandler ProcessRequest(string httpMethod, string pathInfo, string filePath)
Returns
System.Web.IHttpHandler
Parameters
Type | Name |
---|---|
System.String | httpMethod |
System.String | pathInfo |
System.String | filePath |