Table of Contents

Class PackageEcosystemExtensions

Namespace
Invex.StructuredText.GithubActions.DependabotConfigModel.Model
Assembly
Invex.StructuredText.GithubActions.dll

Extension methods for PackageEcosystem.

public static class PackageEcosystemExtensions
Inheritance
object
PackageEcosystemExtensions

Methods

ToYamlValue(PackageEcosystem)

Gets the package-ecosystem YAML value for ecosystem, for use with PackageEcosystem.

public static string ToYamlValue(this PackageEcosystem ecosystem)

Parameters

ecosystem PackageEcosystem

The package ecosystem.

Returns

string

The value Dependabot expects, such as nuget or github-actions.

Exceptions

ArgumentOutOfRangeException

ecosystem is not a defined PackageEcosystem value.