Skip to main content

NativeTypesFeature

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

Properties

Id

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

MetadataTypesConfig

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

DisableTokenVerification

View Source
Declaration
public static bool DisableTokenVerification { get; set; }

DefaultGenerator

View Source
Declaration
public MetadataTypesGenerator DefaultGenerator { get; }

Methods

ExportAttribute<T>(Func<Attribute, MetadataAttribute>)

View Source
Declaration
public void ExportAttribute<T>(Func<Attribute, MetadataAttribute> converter)
Parameters
TypeName
System.Func<System.Attribute,ServiceStack.MetadataAttribute>converter
Type Parameters
  • T

ExportAttribute(Type, Func<Attribute, MetadataAttribute>)

View Source
Declaration
public void ExportAttribute(Type attributeType, Func<Attribute, MetadataAttribute> converter)
Parameters
TypeName
System.TypeattributeType
System.Func<System.Attribute,ServiceStack.MetadataAttribute>converter

GetGenerator()

View Source
Declaration
public MetadataTypesGenerator GetGenerator()
Returns

ServiceStack.NativeTypes.MetadataTypesGenerator

Register(IAppHost)

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

Implements