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
Type | Name |
---|---|
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
Type | Name |
---|---|
System.Type | attributeType |
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
Type | Name |
---|---|
ServiceStack.IAppHost | appHost |