Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Aspire.Hosting.ApplicationModel
  3. IResource
  • IResource
    • Annotations
    • Name
    • GetReplicaCount(IResource)
    • HasAnnotationIncludingAncestorsOfType<T>(IResource)
    • HasAnnotationOfType<T>(IResource)
    • IsContainer(IResource)
    • IsExisting(IResource)
    • ProcessArgumentValuesAsync(IResource, DistributedApplicationExecutionContext, Action<Object, String, Exception, Boolean>, ILogger, String, CancellationToken)
    • ProcessEnvironmentVariableValuesAsync(IResource, DistributedApplicationExecutionContext, Action<String, Object, String, Exception>, ILogger, String, CancellationToken)
    • TryGetAnnotationsIncludingAncestorsOfType<T>(IResource, IEnumerable<T>)
    • TryGetAnnotationsOfType<T>(IResource, IEnumerable<T>)
    • TryGetContainerImageName(IResource, String)
    • TryGetContainerMounts(IResource, IEnumerable<ContainerMountAnnotation>)
    • TryGetEndpoints(IResource, IEnumerable<EndpointAnnotation>)
    • TryGetEnvironmentVariables(IResource, IEnumerable<EnvironmentCallbackAnnotation>)
    • TryGetLastAnnotation<T>(IResource, T)
net9.0
namespace Aspire.Hosting.ApplicationModel
{
    public interface IResource
}
nuget.org
0.0 %
Reference this API
0.0 %
Derive from this class or interface
.NET
8.09.010.0
Information specific to net9.0
Assemblies

Aspire.Hosting , Version=9.2.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Aspire.Hosting , Version=9.1.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.

Package Aspire.Hosting (9.2.0-preview.1.25167.6) net8.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙