Skip to content

Fast.DynamicApplication public API ​

Targets: net8.0;net9.0;net10.0. Select a type in the page outline to find its declaration and members. See the module guide for configuration, examples, and constraints.

Reference version 3.5.42. Source commit a8bd407bf5f6b811da7fb7bd1db827f4da119a94.

Fast.DynamicApplication.ApiDescriptionSettingsAttribute ​

Source · Targets: net8.0, net9.0, net10.0

csharp
[SuppressSniffer]
[AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Method)]
public sealed class ApiDescriptionSettingsAttribute : ApiExplorerSettingsAttribute

API description settings

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.ApiDescriptionSettingsAttribute ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public ApiDescriptionSettingsAttribute()

Initializes a new instance of the class

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.ApiDescriptionSettingsAttribute ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public ApiDescriptionSettingsAttribute(bool enabled)

Initializes a new instance of the class

  • Parameter enabled: Whether the feature is enabled

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.ApiDescriptionSettingsAttribute ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public ApiDescriptionSettingsAttribute(params string[] groups)

Initializes a new instance of the class

  • Parameter groups: Documentation groups

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Name ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public string Name { get; set; }

Custom name

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Module ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public string Module { get; set; }

Module name

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Version ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public string Version { get; set; }

Version number

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Groups ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public string[] Groups { get; set; }

Group

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Order ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public int Order { get; set; }

Order

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Description ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public string Description { get; set; }

Additional description; supports HTML

Fast.DynamicApplication.DynamicApplicationContext ​

Source · Targets: net8.0, net9.0, net10.0

csharp
[SuppressSniffer]
public static class DynamicApplicationContext

Dynamic Application context

Fast.DynamicApplication.DynamicApplicationContext.RoutePrefix ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public static string RoutePrefix { get; internal set; } = null;

Route prefix

Fast.DynamicApplication.DynamicApplicationContext.ControllerOrderCollection ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public static ConcurrentDictionary<string, (string, int, Type)> ControllerOrderCollection { get; set; } = new();

Controller ordering collection

Fast.DynamicApplication.DynamicApplicationContext.IsApiController ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public static bool IsApiController(Type type)

Whether this is an API controller

  • Parameter type: Target type
  • Returns: Returns true when the condition is met; otherwise false

Fast.DynamicApplication.IServiceCollectionExtension ​

Source · Targets: net8.0, net9.0, net10.0

csharp
[SuppressSniffer]
public static class IServiceCollectionExtension

Dynamic API extensions for IServiceCollection

Fast.DynamicApplication.IServiceCollectionExtension.AddDynamicApplication ​

Source · Targets: net8.0, net9.0, net10.0

csharp
public static IServiceCollection AddDynamicApplication(this IServiceCollection services, string routePrefix = null)

Adds dynamic API services

  • Parameter services: The service collection to add services to
  • Parameter routePrefix: Common prefix applied to generated routes
  • Returns: Returns services for chaining

Fast.DynamicApplication.IDynamicApplication ​

Source · Targets: net8.0, net9.0, net10.0

csharp
[SuppressSniffer]
public interface IDynamicApplication

Dynamic API application dependency interface