1 interface inheriting from IResourceAnnotation
Aspire.Hosting (1)
IProjectMetadata.cs (1)
13
public interface IProjectMetadata :
IResourceAnnotation
31 implementations of IResourceAnnotation
Aspire.Hosting (16)
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (1)
9
public class CommandLineArgsCallbackAnnotation :
IResourceAnnotation
ApplicationModel\ContainerImageAnnotation.cs (1)
12
public sealed class ContainerImageAnnotation :
IResourceAnnotation
ApplicationModel\ContainerLifetimeAnnotation.cs (1)
37
public sealed class ContainerLifetimeAnnotation :
IResourceAnnotation
ApplicationModel\ContainerMountAnnotation.cs (1)
13
public sealed class ContainerMountAnnotation :
IResourceAnnotation
ApplicationModel\ContainerNameAnnotation.cs (1)
12
public sealed class ContainerNameAnnotation :
IResourceAnnotation
ApplicationModel\ContainerRuntimeArgsCallbackAnnotation.cs (1)
12
public sealed class ContainerRuntimeArgsCallbackAnnotation :
IResourceAnnotation
ApplicationModel\DisableForwardedHeadersAnnotation.cs (1)
12
public sealed class DisableForwardedHeadersAnnotation :
IResourceAnnotation
ApplicationModel\EndpointAnnotation.cs (1)
16
public sealed class EndpointAnnotation :
IResourceAnnotation
ApplicationModel\EnvironmentCallbackAnnotation.cs (1)
12
public class EnvironmentCallbackAnnotation :
IResourceAnnotation
ApplicationModel\ExcludeLifecycleCommandsAnnotation.cs (1)
9
internal sealed class ExcludeLifecycleCommandsAnnotation :
IResourceAnnotation
ApplicationModel\Http2ServiceAnnotation.cs (1)
9
internal sealed class Http2ServiceAnnotation :
IResourceAnnotation
ApplicationModel\ManifestPublishingCallbackAnnotation.cs (1)
11
public class ManifestPublishingCallbackAnnotation :
IResourceAnnotation
ApplicationModel\ResourceCommandAnnotation.cs (1)
12
public sealed class ResourceCommandAnnotation :
IResourceAnnotation
src\Shared\LaunchProfiles\DefaultLaunchProfileAnnotation.cs (1)
9
internal sealed class DefaultLaunchProfileAnnotation :
IResourceAnnotation
src\Shared\LaunchProfiles\ExcludeLaunchProfileAnnotation.cs (1)
9
internal sealed class ExcludeLaunchProfileAnnotation :
IResourceAnnotation
src\Shared\LaunchProfiles\LaunchProfileAnnotation.cs (1)
9
internal sealed class LaunchProfileAnnotation :
IResourceAnnotation
Aspire.Hosting.Azure.Functions (3)
src\Shared\LaunchProfiles\DefaultLaunchProfileAnnotation.cs (1)
9
internal sealed class DefaultLaunchProfileAnnotation :
IResourceAnnotation
src\Shared\LaunchProfiles\ExcludeLaunchProfileAnnotation.cs (1)
9
internal sealed class ExcludeLaunchProfileAnnotation :
IResourceAnnotation
src\Shared\LaunchProfiles\LaunchProfileAnnotation.cs (1)
9
internal sealed class LaunchProfileAnnotation :
IResourceAnnotation
Aspire.Hosting.Azure.Tests (6)
AzurePostgresExtensionsTests.cs (2)
385
private sealed class Dummy1Annotation :
IResourceAnnotation
389
private sealed class Dummy2Annotation :
IResourceAnnotation
AzureRedisExtensionsTests.cs (2)
190
private sealed class Dummy1Annotation :
IResourceAnnotation
194
private sealed class Dummy2Annotation :
IResourceAnnotation
AzureSqlExtensionsTests.cs (2)
233
private sealed class Dummy1Annotation :
IResourceAnnotation
237
private sealed class Dummy2Annotation :
IResourceAnnotation
Aspire.Hosting.Dapr (3)
DaprComponentReferenceAnnotation.cs (1)
12
public sealed record DaprComponentReferenceAnnotation(IDaprComponentResource Component) :
IResourceAnnotation
DaprSidecarAnnotation.cs (1)
11
public sealed record DaprSidecarAnnotation(IDaprSidecarResource Sidecar) :
IResourceAnnotation
DaprSidecarOptionsAnnotation.cs (1)
11
public sealed record DaprSidecarOptionsAnnotation(DaprSidecarOptions Options) :
IResourceAnnotation
Aspire.Hosting.Tests (3)
ResourceExtensionsTests.cs (2)
272
private sealed class DummyAnnotation :
IResourceAnnotation
277
private sealed class AnotherDummyAnnotation :
IResourceAnnotation
Utils\WithAnnotationTests.cs (1)
54
public class DummyAnnotation :
IResourceAnnotation
23 references to IResourceAnnotation
Aspire.Hosting (20)
ApplicationModel\ConnectionStringRedirectAnnotation.cs (1)
10
public class ConnectionStringRedirectAnnotation(IResourceWithConnectionString resource) :
IResourceAnnotation
ApplicationModel\DcpInstancesAnnotation.cs (1)
11
internal class DcpInstancesAnnotation(ImmutableArray<DcpInstance> instances) :
IResourceAnnotation
ApplicationModel\DeploymentTargetAnnotation.cs (1)
9
public sealed class DeploymentTargetAnnotation(IResource target) :
IResourceAnnotation
ApplicationModel\DockerfileBuildAnnotation.cs (1)
12
public class DockerfileBuildAnnotation(string contextPath, string dockerfilePath, string? stage) :
IResourceAnnotation
ApplicationModel\EndpointEnvironmentInjectionFilterAnnotation.cs (1)
9
internal class EndpointEnvironmentInjectionFilterAnnotation(Func<EndpointAnnotation, bool> filter) :
IResourceAnnotation
ApplicationModel\EndpointReferenceAnnotation.cs (1)
9
internal sealed class EndpointReferenceAnnotation(IResourceWithEndpoints resource) :
IResourceAnnotation
ApplicationModel\HealthCheckAnnotation.cs (1)
13
public class HealthCheckAnnotation(string key) :
IResourceAnnotation
ApplicationModel\IResourceBuilder.cs (2)
29
IResourceBuilder<T> WithAnnotation<TAnnotation>(ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.Append) where TAnnotation :
IResourceAnnotation
, new() => WithAnnotation(new TAnnotation(), behavior);
39
IResourceBuilder<T> WithAnnotation<TAnnotation>(TAnnotation annotation, ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.Append) where TAnnotation :
IResourceAnnotation
;
ApplicationModel\ReplicaAnnotation.cs (1)
13
public sealed class ReplicaAnnotation(int replicas = 1) :
IResourceAnnotation
ApplicationModel\ResourceAnnotationCollection.cs (1)
11
public sealed class ResourceAnnotationCollection : Collection<
IResourceAnnotation
>
ApplicationModel\ResourceExtensions.cs (5)
20
public static bool TryGetLastAnnotation<T>(this IResource resource, [NotNullWhen(true)] out T? annotation) where T :
IResourceAnnotation
41
public static bool TryGetAnnotationsOfType<T>(this IResource resource, [NotNullWhen(true)] out IEnumerable<T>? result) where T :
IResourceAnnotation
63
public static bool HasAnnotationOfType<T>(this IResource resource) where T :
IResourceAnnotation
75
public static bool TryGetAnnotationsIncludingAncestorsOfType<T>(this IResource resource, [NotNullWhen(true)] out IEnumerable<T>? result) where T :
IResourceAnnotation
112
public static bool HasAnnotationIncludingAncestorsOfType<T>(this IResource resource) where T :
IResourceAnnotation
ApplicationModel\ResourceRelationshipAnnotation.cs (1)
12
public sealed class ResourceRelationshipAnnotation(IResource resource, string type) :
IResourceAnnotation
ApplicationModel\ResourceSnapshotAnnotation.cs (1)
9
public class ResourceSnapshotAnnotation(CustomResourceSnapshot initialSnapshot) :
IResourceAnnotation
ApplicationModel\WaitAnnotation.cs (1)
18
public sealed class WaitAnnotation(IResource resource, WaitType waitType, int exitCode = 0) :
IResourceAnnotation
DistributedApplicationResourceBuilder.cs (1)
14
public IResourceBuilder<T> WithAnnotation<TAnnotation>(TAnnotation annotation, ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.Append) where TAnnotation :
IResourceAnnotation
Aspire.Hosting.Azure (1)
BicepResourceAnnotation.cs (1)
31
public class AzureBicepResourceAnnotation(AzureBicepResource resource) :
IResourceAnnotation
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppCustomizationAnnotation.cs (1)
12
public sealed class AzureContainerAppCustomizationAnnotation(Action<AzureResourceInfrastructure, ContainerApp> configure) :
IResourceAnnotation
Aspire.Hosting.Azure.Sql (1)
AzureSqlServerResource.cs (1)
86
foreach (
var
annotation in Annotations)