325 instantiations of AspireExport
Aspire.Hosting (129)
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (1)
51[AspireExport(ExposeProperties = true)]
ApplicationModel\EndpointReference.cs (3)
12[AspireExport(ExposeProperties = true)] 72[AspireExport("getValueAsync", Description = "Gets the URL of the endpoint asynchronously")] 256[AspireExport(ExposeProperties = true)]
ApplicationModel\EnvironmentCallbackContext.cs (1)
15[AspireExport(ExposeProperties = true)]
ApplicationModel\ReferenceExpression.cs (1)
15[AspireExport]
ApplicationModel\ResourceCommandAnnotation.cs (2)
170[AspireExport(ExposeProperties = true)] 187[AspireExport(ExposeProperties = true)]
ApplicationModel\ResourceUrlsCallbackContext.cs (1)
16[AspireExport(ExposeProperties = true)]
Ats\AtsTypeMappings.cs (22)
17[assembly: AspireExport(typeof(IDistributedApplicationBuilder))] 18[assembly: AspireExport(typeof(DistributedApplication))] 23[assembly: AspireExport(typeof(EndpointReference))] 24[assembly: AspireExport(typeof(ReferenceExpression))] 29[assembly: AspireExport(typeof(IResource))] 30[assembly: AspireExport(typeof(IResourceWithEnvironment))] 31[assembly: AspireExport(typeof(IResourceWithEndpoints))] 32[assembly: AspireExport(typeof(IResourceWithArgs))] 33[assembly: AspireExport(typeof(IResourceWithConnectionString))] 34[assembly: AspireExport(typeof(IResourceWithWaitSupport))] 35[assembly: AspireExport(typeof(IResourceWithParent))] 38[assembly: AspireExport(typeof(ContainerResource))] 39[assembly: AspireExport(typeof(ExecutableResource))] 40[assembly: AspireExport(typeof(ProjectResource))] 41[assembly: AspireExport(typeof(ParameterResource))] 44[assembly: AspireExport(typeof(IServiceProvider))] 45[assembly: AspireExport(typeof(ResourceNotificationService))] 46[assembly: AspireExport(typeof(ResourceLoggerService))] 49[assembly: AspireExport(typeof(IConfiguration))] 50[assembly: AspireExport(typeof(IHostEnvironment))] 51[assembly: AspireExport(typeof(CancellationToken))] 54[assembly: AspireExport(typeof(DistributedApplicationEventSubscription))]
Ats\BuilderExports.cs (4)
49[AspireExport("getConfigValue", Description = "Gets a configuration value by key")] 61[AspireExport("getConnectionString", Description = "Gets a connection string by name")] 76[AspireExport("getEnvironmentName", Description = "Gets the environment name")] 87[AspireExport("isDevelopment", Description = "Checks if running in Development environment")]
Ats\CollectionExports.cs (18)
33[AspireExport("Dict.get", Description = "Gets a value from a dictionary")] 43[AspireExport("Dict.set", Description = "Sets a value in a dictionary")] 53[AspireExport("Dict.remove", Description = "Removes a key from a dictionary")] 62[AspireExport("Dict.keys", Description = "Gets all keys from a dictionary")] 72[AspireExport("Dict.has", Description = "Checks if a dictionary contains a key")] 81[AspireExport("Dict.count", Description = "Gets the number of entries in a dictionary")] 89[AspireExport("Dict.clear", Description = "Clears all entries from a dictionary")] 98[AspireExport("Dict.values", Description = "Gets all values from a dictionary")] 107[AspireExport("Dict.toObject", Description = "Converts a dictionary to a plain object")] 121[AspireExport("List.get", Description = "Gets an item from a list by index")] 131[AspireExport("List.set", Description = "Sets an item in a list at a specific index")] 145[AspireExport("List.add", Description = "Adds an item to the end of a list")] 155[AspireExport("List.removeAt", Description = "Removes an item at a specific index from a list")] 171[AspireExport("List.length", Description = "Gets the number of items in a list")] 179[AspireExport("List.clear", Description = "Clears all items from a list")] 189[AspireExport("List.insert", Description = "Inserts an item at a specific index in a list")] 204[AspireExport("List.indexOf", Description = "Gets the index of an item in a list")] 213[AspireExport("List.toArray", Description = "Converts a list to an array")]
Ats\CoreExports.cs (2)
79[AspireExport("withVolume", Description = "Adds a volume")] 103[AspireExport("getResourceName", Description = "Gets the resource name")]
Ats\LoggingExports.cs (7)
17[AspireExport("logInformation", Description = "Logs an information message")] 26[AspireExport("logWarning", Description = "Logs a warning message")] 35[AspireExport("logError", Description = "Logs an error message")] 44[AspireExport("logDebug", Description = "Logs a debug message")] 53[AspireExport("log", Description = "Logs a message with specified level")] 73[AspireExport("completeLog", Description = "Completes the log stream for a resource")] 82[AspireExport("completeLogByName", Description = "Completes the log stream by resource name")]
Ats\NotificationExports.cs (6)
16[AspireExport("waitForResourceState", Description = "Waits for a resource to reach a specified state")] 28[AspireExport("waitForResourceStates", Description = "Waits for a resource to reach one of the specified states")] 40[AspireExport("waitForResourceHealthy", Description = "Waits for a resource to become healthy")] 52[AspireExport("waitForDependencies", Description = "Waits for all dependencies of a resource to be ready")] 63[AspireExport("tryGetResourceState", Description = "Tries to get the current state of a resource")] 78[AspireExport("publishResourceUpdate", Description = "Publishes an update for a resource's state")]
Ats\ServiceExports.cs (2)
95[AspireExport("getService", Description = "Gets a service by ATS type ID")] 117[AspireExport("getRequiredService", Description = "Gets a required service by ATS type ID")]
ContainerResourceBuilderExtensions.cs (10)
93[AspireExport("addContainer", Description = "Adds a container resource")] 249[AspireExport("withBindMount", Description = "Adds a bind mount")] 269[AspireExport("withEntrypoint", Description = "Sets the container entrypoint")] 286[AspireExport("withImageTag", Description = "Sets the container image tag")] 317[AspireExport("withImageRegistry", Description = "Sets the container image registry")] 339[AspireExport("withImage", Description = "Sets the container image")] 430[AspireExport("withContainerRuntimeArgs", Description = "Adds runtime arguments for the container")] 499[AspireExport("withLifetime", Description = "Sets the lifetime behavior of the container resource")] 514[AspireExport("withImagePullPolicy", Description = "Sets the container image pull policy")] 976[AspireExport("withContainerName", Description = "Sets the container name")]
DistributedApplication.cs (4)
54[AspireExport] 153[AspireExport("createBuilder", Description = "Creates a new distributed application builder")] 217[AspireExport("createBuilderWithOptions", Description = "Creates builder with options")] 478[AspireExport("run", Description = "Runs the distributed application")]
DistributedApplicationExecutionContext.cs (1)
9[AspireExport(ExposeProperties = true)]
DistributedApplicationExecutionContextOptions.cs (1)
9[AspireExport]
Eventing\DistributedApplicationEventSubscription.cs (2)
12[AspireExport] 24[AspireExport]
Eventing\IDistributedApplicationEvent.cs (2)
13[AspireExport] 21[AspireExport]
Eventing\IDistributedApplicationEventing.cs (1)
11[AspireExport(ExposeMethods = true)]
ExecutableResourceBuilderExtensions.cs (3)
29[AspireExport("addExecutable", Description = "Adds an executable resource")] 172[AspireExport("withExecutableCommand", Description = "Sets the executable command")] 202[AspireExport("withWorkingDirectory", Description = "Sets the executable working directory")]
IDistributedApplicationBuilder.cs (2)
59[AspireExport(ExposeProperties = true)] 272[AspireExport("build", Description = "Builds the distributed application")]
ParameterResourceBuilderExtensions.cs (3)
26[AspireExport("addParameter", Description = "Adds a parameter resource")] 165[AspireExport("withDescription", Description = "Sets a parameter description")] 245[AspireExport("addConnectionString", Description = "Adds a connection string resource")]
ProjectResourceBuilderExtensions.cs (2)
184[AspireExport("addProject", Description = "Adds a .NET project resource")] 734[AspireExport("withReplicas", Description = "Sets the number of replicas")]
ResourceBuilderExtensions.cs (28)
33[AspireExport("withEnvironment", Description = "Sets an environment variable")] 89[AspireExport("withEnvironmentExpression", Description = "Adds an environment variable with a reference expression")] 129[AspireExport("withEnvironmentCallback", Description = "Sets environment variables via callback")] 145[AspireExport("withEnvironmentCallbackAsync", Description = "Sets environment variables via async callback")] 339[AspireExport("withArgs", Description = "Adds arguments")] 372[AspireExport("withArgsCallback", Description = "Sets command-line arguments via callback")] 392[AspireExport("withArgsCallbackAsync", Description = "Sets command-line arguments via async callback")] 526[AspireExport("withReference", Description = "Adds a reference to another resource")] 611[AspireExport("withServiceReference", Description = "Adds a service discovery reference to another resource")] 908[AspireExport("withEndpoint", Description = "Adds a network endpoint")] 982[AspireExport("withHttpEndpoint", Description = "Adds an HTTP endpoint")] 1003[AspireExport("withHttpsEndpoint", Description = "Adds an HTTPS endpoint")] 1017[AspireExport("withExternalHttpEndpoints", Description = "Makes HTTP endpoints externally accessible")] 1062[AspireExport("getEndpoint", Description = "Gets an endpoint reference")] 1076[AspireExport("asHttp2Service", Description = "Configures resource for HTTP/2")] 1131[AspireExport("withUrlsCallback", Description = "Customizes displayed URLs via callback")] 1155[AspireExport("withUrlsCallbackAsync", Description = "Customizes displayed URLs via async callback")] 1193[AspireExport("withUrl", Description = "Adds or modifies displayed URLs")] 1255[AspireExport("withUrlExpression", Description = "Adds a URL using a reference expression")] 1311[AspireExport("withUrlForEndpoint", Description = "Customizes the URL for a specific endpoint via callback")] 1358[AspireExport("withUrlForEndpointFactory", Description = "Adds a URL for a specific endpoint via factory callback")] 1487[AspireExport("waitFor", Description = "Waits for another resource to be ready")] 1704[AspireExport("withExplicitStart", Description = "Prevents resource from starting automatically")] 1736[AspireExport("waitForCompletion", Description = "Waits for resource completion")] 1793[AspireExport("withHealthCheck", Description = "Adds a health check by key")] 1838[AspireExport("withHttpHealthCheck", Description = "Adds an HTTP health check")] 1988[AspireExport("withCommand", Description = "Adds a resource command")] 2827[AspireExport("withParentRelationship", Description = "Sets the parent relationship")]
Aspire.Hosting.CodeGeneration.Go.Tests (29)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (26)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 45[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 67[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 372[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 383[AspireExport("getTags", Description = "Gets the tags for the resource")] 392[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 401[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 413[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 424[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 435[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 446[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 457[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 469[AspireExport("withStatus", Description = "Sets the resource status")] 480[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 491[AspireExport("withValidator", Description = "Adds validation callback")] 503[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 514[AspireExport("getEndpoints", Description = "Gets the endpoints")] 527[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 540[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 552[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 563[AspireExport("withEndpoints", Description = "Sets the endpoints")] 574[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 587[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 598[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 609[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")] 646[AspireExport(ExposeProperties = true)]
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestTypes.cs (3)
22[AspireExport(ExposeProperties = true, ExposeMethods = true)] 58[AspireExport(ExposeProperties = true)] 70[AspireExport(ExposeProperties = true)]
Aspire.Hosting.CodeGeneration.Java.Tests (29)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (26)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 45[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 67[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 372[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 383[AspireExport("getTags", Description = "Gets the tags for the resource")] 392[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 401[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 413[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 424[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 435[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 446[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 457[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 469[AspireExport("withStatus", Description = "Sets the resource status")] 480[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 491[AspireExport("withValidator", Description = "Adds validation callback")] 503[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 514[AspireExport("getEndpoints", Description = "Gets the endpoints")] 527[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 540[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 552[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 563[AspireExport("withEndpoints", Description = "Sets the endpoints")] 574[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 587[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 598[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 609[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")] 646[AspireExport(ExposeProperties = true)]
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestTypes.cs (3)
22[AspireExport(ExposeProperties = true, ExposeMethods = true)] 58[AspireExport(ExposeProperties = true)] 70[AspireExport(ExposeProperties = true)]
Aspire.Hosting.CodeGeneration.Python.Tests (29)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (26)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 45[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 67[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 372[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 383[AspireExport("getTags", Description = "Gets the tags for the resource")] 392[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 401[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 413[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 424[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 435[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 446[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 457[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 469[AspireExport("withStatus", Description = "Sets the resource status")] 480[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 491[AspireExport("withValidator", Description = "Adds validation callback")] 503[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 514[AspireExport("getEndpoints", Description = "Gets the endpoints")] 527[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 540[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 552[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 563[AspireExport("withEndpoints", Description = "Sets the endpoints")] 574[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 587[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 598[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 609[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")] 646[AspireExport(ExposeProperties = true)]
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestTypes.cs (3)
22[AspireExport(ExposeProperties = true, ExposeMethods = true)] 58[AspireExport(ExposeProperties = true)] 70[AspireExport(ExposeProperties = true)]
Aspire.Hosting.CodeGeneration.Rust.Tests (29)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (26)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 45[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 67[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 372[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 383[AspireExport("getTags", Description = "Gets the tags for the resource")] 392[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 401[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 413[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 424[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 435[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 446[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 457[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 469[AspireExport("withStatus", Description = "Sets the resource status")] 480[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 491[AspireExport("withValidator", Description = "Adds validation callback")] 503[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 514[AspireExport("getEndpoints", Description = "Gets the endpoints")] 527[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 540[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 552[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 563[AspireExport("withEndpoints", Description = "Sets the endpoints")] 574[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 587[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 598[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 609[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")] 646[AspireExport(ExposeProperties = true)]
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestTypes.cs (3)
22[AspireExport(ExposeProperties = true, ExposeMethods = true)] 58[AspireExport(ExposeProperties = true)] 70[AspireExport(ExposeProperties = true)]
Aspire.Hosting.CodeGeneration.TypeScript.Tests (29)
TestTypes\TestExtensions.cs (26)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 45[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 67[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 372[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 383[AspireExport("getTags", Description = "Gets the tags for the resource")] 392[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 401[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 413[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 424[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 435[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 446[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 457[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 469[AspireExport("withStatus", Description = "Sets the resource status")] 480[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 491[AspireExport("withValidator", Description = "Adds validation callback")] 503[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 514[AspireExport("getEndpoints", Description = "Gets the endpoints")] 527[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 540[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 552[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 563[AspireExport("withEndpoints", Description = "Sets the endpoints")] 574[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 587[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 598[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 609[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")] 646[AspireExport(ExposeProperties = true)]
TestTypes\TestTypes.cs (3)
22[AspireExport(ExposeProperties = true, ExposeMethods = true)] 58[AspireExport(ExposeProperties = true)] 70[AspireExport(ExposeProperties = true)]
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentExtensions.cs (1)
29[AspireExport("addDockerComposeEnvironment", Description = "Adds a Docker Compose publishing environment")]
Aspire.Hosting.JavaScript (8)
JavaScriptAppResource.cs (1)
14[AspireExport(ExposeProperties = true)]
JavaScriptHostingExtensions.cs (6)
112[AspireExport("addNodeApp", Description = "Adds a Node.js application resource")] 324[AspireExport("addJavaScriptApp", Description = "Adds a JavaScript application resource")] 500[AspireExport("addViteApp", Description = "Adds a Vite application resource")] 702[AspireExport("withNpm", Description = "Configures npm as the package manager")] 931[AspireExport("withBuildScript", Description = "Specifies an npm script to run before starting the application")] 950[AspireExport("withRunScript", Description = "Specifies an npm script to run during development")]
NodeAppResource.cs (1)
14[AspireExport(ExposeProperties = true)]
Aspire.Hosting.PostgreSQL (4)
PostgresBuilderExtensions.cs (2)
43[AspireExport("addPostgres", Description = "Adds a PostgreSQL server resource")] 141[AspireExport("addDatabase", Description = "Adds a PostgreSQL database")]
PostgresDatabaseResource.cs (1)
18[AspireExport(ExposeProperties = true)]
PostgresServerResource.cs (1)
9[AspireExport(ExposeProperties = true)]
Aspire.Hosting.Redis (8)
RedisBuilderExtensions.cs (8)
38[AspireExport("addRedisWithPort", Description = "Adds a Redis container resource with specific port")] 61[AspireExport("addRedis", Description = "Adds a Redis container resource")] 232[AspireExport("withRedisCommander", Description = "Adds Redis Commander management UI")] 310[AspireExport("withRedisInsight", Description = "Adds Redis Insight management UI")] 475[AspireExport("withDataVolume", Description = "Adds a data volume with persistence")] 506[AspireExport("withDataBindMount", Description = "Adds a data bind mount with persistence")] 536[AspireExport("withPersistence", Description = "Configures Redis persistence")] 599[AspireExport("withHostPort", Description = "Sets the host port for Redis")]
Aspire.Hosting.RemoteHost.Tests (23)
CapabilityDispatcherTests.cs (23)
1189[AspireExport("testMethod", Description = "Test method")] 1195[AspireExport("withOptional", Description = "Method with optional parameter")] 1201[AspireExport("asyncVoid", Description = "Async method returning Task")] 1208[AspireExport("asyncWithResult", Description = "Async method returning Task<T>")] 1215[AspireExport("asyncThrows", Description = "Async method that throws")] 1226[AspireExport(ExposeProperties = true)] 1240[AspireExport(ExposeProperties = true)] 1250[AspireExport(ExposeProperties = true)] 1261[AspireExport(ExposeProperties = true)] 1280[AspireExport(ExposeMethods = true)] 1319[AspireExport("withCallback", Description = "Method with callback parameter")] 1330[AspireExport("invokeCallback", Description = "Method that invokes callback")] 1339[AspireExport("invokeTypedCallback", Description = "Method that invokes typed callback")] 1348[AspireExport("withAsyncCallback", Description = "Method with async callback returning value")] 1360[AspireExport("sumArray", Description = "Sums an integer array")] 1366[AspireExport("returnArray", Description = "Returns a string array")] 1372[AspireExport("acceptReadOnlyList", Description = "Accepts a readonly list")] 1378[AspireExport("acceptUnion", Description = "Accepts a union of string or int")] 1384[AspireExport("returnMutableList", Description = "Returns a mutable List<string>")] 1390[AspireExport("returnMutableDict", Description = "Returns a mutable Dictionary<string, object>")] 1416[AspireExport("acceptEnum", Description = "Accepts an enum parameter")] 1422[AspireExport("returnEnum", Description = "Returns an enum value")] 1428[AspireExport("acceptOptionalEnum", Description = "Accepts an optional enum parameter")]
Aspire.Hosting.SqlServer (7)
SqlServerBuilderExtensions.cs (7)
36[AspireExport("addSqlServer", Description = "Adds a SQL Server container resource")] 114[AspireExport("addDatabase", Description = "Adds a SQL Server database resource")] 153[AspireExport("withDataVolume", Description = "Adds a named volume for the SQL Server data folder")] 172[AspireExport("withDataBindMount", Description = "Adds a bind mount for the SQL Server data folder")] 208[AspireExport("withCreationScript", Description = "Defines the SQL script used to create the database")] 225[AspireExport("withPassword", Description = "Configures the password for the SQL Server resource")] 241[AspireExport("withHostPort", Description = "Sets the host port for the SQL Server resource")]
30 references to AspireExport
Aspire.Hosting (20)
Ats\AspireExportIgnoreAttribute.cs (2)
10/// <see cref="AspireExportAttribute.ExposeProperties"/> or <see cref="AspireExportAttribute.ExposeMethods"/>.
Ats\AtsCapabilityScanner.cs (17)
286var typeExportAttr = GetAspireExportAttribute(type); 331var exportAttr = GetAspireExportAttribute(method); 821AspireExportAttribute exportAttr) 955var memberExportAttr = GetAspireExportAttribute(property); 1176var memberExportAttr = GetAspireExportAttribute(method); 1294AspireExportAttribute exportAttr, 2381private static AspireExportAttribute? GetAspireExportAttribute(Type type) 2383return type.GetCustomAttribute<AspireExportAttribute>(); 2386private static AspireExportAttribute? GetAspireExportAttribute(MethodInfo method) 2388return method.GetCustomAttribute<AspireExportAttribute>(); 2396var attr = type.GetCustomAttribute<AspireExportAttribute>(); 2405var attr = type.GetCustomAttribute<AspireExportAttribute>(); 2430private static bool ShouldExportMember(bool isPublic, bool exposeAll, AspireExportAttribute? exportAttr) 2445private static AspireExportAttribute? GetAspireExportAttribute(PropertyInfo property) 2447return property.GetCustomAttribute<AspireExportAttribute>();
Ats\AtsConstants.cs (1)
491if (type.GetCustomAttributes(typeof(AspireExportAttribute), inherit: false).Length > 0)
Aspire.Hosting.RemoteHost.Tests (10)
CapabilityDispatcherTests.cs (10)
360var dispatcher = CreateDispatcher(typeof(AspireExportAttribute).Assembly); 817var dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]); 841var dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]); 874var dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]); 896var dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]); 941var dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]); 965var dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]); 998var dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]); 1032var dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]); 1058var dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);