Table of Contents

Class Chocolatey

Namespace
Fabricator.Resources
Assembly
Fabricator.Resources.dll
[CompilationMapping(SourceConstructFlags.Module)]
public static class Chocolatey
Inheritance
Chocolatey
Inherited Members

Methods

chocolateyPackage(string, string)

Represents a Chocolatey package resource within the Fabricator framework. This resource ensures that the specified Chocolatey package is installed with the given version on the system.

public static IResource chocolateyPackage(string name, string version)

Parameters

name string

The name of the Chocolatey package to manage.

version string

The version of the Chocolatey package to ensure is installed.

Returns

IResource

An implementation of the IResource interface, which provides methods to check the state of the resource and apply necessary changes.