LangGeneratorExtensions
Assembly: ServiceStack.dll
View Source
Declaration
public static class LangGeneratorExtensions
Methods
GenerateSourceCode(List<MetadataType>, String, IRequest, Action<ILangGenerator>)
View Source
Declaration
public static string GenerateSourceCode(this List<MetadataType> metadataTypes, string lang, IRequest req, Action<ILangGenerator> configure = null)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Collections.Generic.List<ServiceStack.MetadataType> | metadataTypes |
System.String | lang |
ServiceStack.Web.IRequest | req |
System.Action<ServiceStack.NativeTypes.ILangGenerator> | configure |
GenerateSourceCode(MetadataTypes, MetadataTypesConfig, String, IRequest, Action<ILangGenerator>)
View Source
Declaration
public static string GenerateSourceCode(this MetadataTypes metadataTypes, MetadataTypesConfig typesConfig, string lang, IRequest req, Action<ILangGenerator> configure = null)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.MetadataTypes | metadataTypes |
ServiceStack.MetadataTypesConfig | typesConfig |
System.String | lang |
ServiceStack.Web.IRequest | req |
System.Action<ServiceStack.NativeTypes.ILangGenerator> | configure |