Table of Contents

Class DependabotRegistries.Named

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

Uses only the named registries, written as a registries array.

public sealed record DependabotRegistries.Named : DependabotRegistries
Inheritance
object
DependabotRegistries.Named

Constructors

Named(params IReadOnlyList<string>)

Uses only the named registries, written as a registries array.

public Named(params IReadOnlyList<string> Names)

Parameters

Names IReadOnlyList<string>

The names of registries defined in Registries.

Properties

Names

The names of registries defined in Registries.

public IReadOnlyList<string> Names { get; init; }

Property Value

IReadOnlyList<string>

Methods

Match(Action<All>, Action<Named>)

public override void Match(Action<DependabotRegistries.All> all, Action<DependabotRegistries.Named> named)

Parameters

all Action<DependabotRegistries.All>
named Action<DependabotRegistries.Named>

MatchAll(Action<All>, Action)

public override void MatchAll(Action<DependabotRegistries.All> all, Action @else)

Parameters

all Action<DependabotRegistries.All>
else Action

MatchAll<TMatchOutput>(Func<All, TMatchOutput>, Func<TMatchOutput>)

public override TMatchOutput MatchAll<TMatchOutput>(Func<DependabotRegistries.All, TMatchOutput> all, Func<TMatchOutput> @else)

Parameters

all Func<DependabotRegistries.All, TMatchOutput>
else Func<TMatchOutput>

Returns

TMatchOutput

Type Parameters

TMatchOutput

MatchAll<TState>(TState, Action<TState, All>, Action<TState>)

public override void MatchAll<TState>(TState state, Action<TState, DependabotRegistries.All> all, Action<TState> @else)

Parameters

state TState
all Action<TState, DependabotRegistries.All>
else Action<TState>

Type Parameters

TState

MatchAll<TState, TMatchOutput>(TState, Func<TState, All, TMatchOutput>, Func<TState, TMatchOutput>)

public override TMatchOutput MatchAll<TState, TMatchOutput>(TState state, Func<TState, DependabotRegistries.All, TMatchOutput> all, Func<TState, TMatchOutput> @else)

Parameters

state TState
all Func<TState, DependabotRegistries.All, TMatchOutput>
else Func<TState, TMatchOutput>

Returns

TMatchOutput

Type Parameters

TState
TMatchOutput

MatchNamed(Action<Named>, Action)

public override void MatchNamed(Action<DependabotRegistries.Named> named, Action @else)

Parameters

named Action<DependabotRegistries.Named>
else Action

MatchNamed<TMatchOutput>(Func<Named, TMatchOutput>, Func<TMatchOutput>)

public override TMatchOutput MatchNamed<TMatchOutput>(Func<DependabotRegistries.Named, TMatchOutput> named, Func<TMatchOutput> @else)

Parameters

named Func<DependabotRegistries.Named, TMatchOutput>
else Func<TMatchOutput>

Returns

TMatchOutput

Type Parameters

TMatchOutput

MatchNamed<TState>(TState, Action<TState, Named>, Action<TState>)

public override void MatchNamed<TState>(TState state, Action<TState, DependabotRegistries.Named> named, Action<TState> @else)

Parameters

state TState
named Action<TState, DependabotRegistries.Named>
else Action<TState>

Type Parameters

TState

MatchNamed<TState, TMatchOutput>(TState, Func<TState, Named, TMatchOutput>, Func<TState, TMatchOutput>)

public override TMatchOutput MatchNamed<TState, TMatchOutput>(TState state, Func<TState, DependabotRegistries.Named, TMatchOutput> named, Func<TState, TMatchOutput> @else)

Parameters

state TState
named Func<TState, DependabotRegistries.Named, TMatchOutput>
else Func<TState, TMatchOutput>

Returns

TMatchOutput

Type Parameters

TState
TMatchOutput

Match<TMatchOutput>(Func<All, TMatchOutput>, Func<Named, TMatchOutput>)

public override TMatchOutput Match<TMatchOutput>(Func<DependabotRegistries.All, TMatchOutput> all, Func<DependabotRegistries.Named, TMatchOutput> named)

Parameters

all Func<DependabotRegistries.All, TMatchOutput>
named Func<DependabotRegistries.Named, TMatchOutput>

Returns

TMatchOutput

Type Parameters

TMatchOutput

Match<TState>(TState, Action<TState, All>, Action<TState, Named>)

public override void Match<TState>(TState state, Action<TState, DependabotRegistries.All> all, Action<TState, DependabotRegistries.Named> named)

Parameters

state TState
all Action<TState, DependabotRegistries.All>
named Action<TState, DependabotRegistries.Named>

Type Parameters

TState

Match<TState, TMatchOutput>(TState, Func<TState, All, TMatchOutput>, Func<TState, Named, TMatchOutput>)

public override TMatchOutput Match<TState, TMatchOutput>(TState state, Func<TState, DependabotRegistries.All, TMatchOutput> all, Func<TState, DependabotRegistries.Named, TMatchOutput> named)

Parameters

state TState
all Func<TState, DependabotRegistries.All, TMatchOutput>
named Func<TState, DependabotRegistries.Named, TMatchOutput>

Returns

TMatchOutput

Type Parameters

TState
TMatchOutput

UnwrapAll()

public override DependabotRegistries.All UnwrapAll()

Returns

DependabotRegistries.All

UnwrapNamed()

public override DependabotRegistries.Named UnwrapNamed()

Returns

DependabotRegistries.Named