DockerfileFactoryContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides context for Dockerfile factory functions.
public sealed class DockerfileFactoryContext
type DockerfileFactoryContext = class
Public NotInheritable Class DockerfileFactoryContext
- Inheritance
-
DockerfileFactoryContext
Constructors
| DockerfileFactoryContext() |
Properties
| CancellationToken |
Gets the cancellation token for the operation. |
| Resource |
Gets the resource for which the Dockerfile is being generated. This allows factory functions to query resource annotations and properties to customize the generated Dockerfile. <example>
</example>
|
| Services |
Gets the IServiceProvider for resolving dependencies required by Dockerfile factory functions.
The service provider typically contains services such as
</example>
|