Class DependabotRegistries
- Namespace
- Invex.StructuredText.GithubActions.DependabotConfigModel.Model
- Assembly
- Invex.StructuredText.GithubActions.dll
Registries to use for this update configuration. Can be a list of registry names or "*" for all.
[Union]
public abstract record DependabotRegistries
- Inheritance
-
objectDependabotRegistries
- Derived
Methods
Match(Action<All>, Action<Named>)
public abstract void Match(Action<DependabotRegistries.All> all, Action<DependabotRegistries.Named> named)
Parameters
allAction<DependabotRegistries.All>namedAction<DependabotRegistries.Named>
MatchAll(Action<All>, Action)
public abstract void MatchAll(Action<DependabotRegistries.All> all, Action @else)
Parameters
allAction<DependabotRegistries.All>elseAction
MatchAll<TMatchOutput>(Func<All, TMatchOutput>, Func<TMatchOutput>)
public abstract TMatchOutput MatchAll<TMatchOutput>(Func<DependabotRegistries.All, TMatchOutput> all, Func<TMatchOutput> @else)
Parameters
allFunc<DependabotRegistries.All, TMatchOutput>elseFunc<TMatchOutput>
Returns
- TMatchOutput
Type Parameters
TMatchOutput
MatchAll<TState>(TState, Action<TState, All>, Action<TState>)
public abstract void MatchAll<TState>(TState state, Action<TState, DependabotRegistries.All> all, Action<TState> @else)
Parameters
stateTStateallAction<TState, DependabotRegistries.All>elseAction<TState>
Type Parameters
TState
MatchAll<TState, TMatchOutput>(TState, Func<TState, All, TMatchOutput>, Func<TState, TMatchOutput>)
public abstract TMatchOutput MatchAll<TState, TMatchOutput>(TState state, Func<TState, DependabotRegistries.All, TMatchOutput> all, Func<TState, TMatchOutput> @else)
Parameters
stateTStateallFunc<TState, DependabotRegistries.All, TMatchOutput>elseFunc<TState, TMatchOutput>
Returns
- TMatchOutput
Type Parameters
TStateTMatchOutput
MatchNamed(Action<Named>, Action)
public abstract void MatchNamed(Action<DependabotRegistries.Named> named, Action @else)
Parameters
namedAction<DependabotRegistries.Named>elseAction
MatchNamed<TMatchOutput>(Func<Named, TMatchOutput>, Func<TMatchOutput>)
public abstract TMatchOutput MatchNamed<TMatchOutput>(Func<DependabotRegistries.Named, TMatchOutput> named, Func<TMatchOutput> @else)
Parameters
namedFunc<DependabotRegistries.Named, TMatchOutput>elseFunc<TMatchOutput>
Returns
- TMatchOutput
Type Parameters
TMatchOutput
MatchNamed<TState>(TState, Action<TState, Named>, Action<TState>)
public abstract void MatchNamed<TState>(TState state, Action<TState, DependabotRegistries.Named> named, Action<TState> @else)
Parameters
stateTStatenamedAction<TState, DependabotRegistries.Named>elseAction<TState>
Type Parameters
TState
MatchNamed<TState, TMatchOutput>(TState, Func<TState, Named, TMatchOutput>, Func<TState, TMatchOutput>)
public abstract TMatchOutput MatchNamed<TState, TMatchOutput>(TState state, Func<TState, DependabotRegistries.Named, TMatchOutput> named, Func<TState, TMatchOutput> @else)
Parameters
stateTStatenamedFunc<TState, DependabotRegistries.Named, TMatchOutput>elseFunc<TState, TMatchOutput>
Returns
- TMatchOutput
Type Parameters
TStateTMatchOutput
Match<TMatchOutput>(Func<All, TMatchOutput>, Func<Named, TMatchOutput>)
public abstract TMatchOutput Match<TMatchOutput>(Func<DependabotRegistries.All, TMatchOutput> all, Func<DependabotRegistries.Named, TMatchOutput> named)
Parameters
allFunc<DependabotRegistries.All, TMatchOutput>namedFunc<DependabotRegistries.Named, TMatchOutput>
Returns
- TMatchOutput
Type Parameters
TMatchOutput
Match<TState>(TState, Action<TState, All>, Action<TState, Named>)
public abstract void Match<TState>(TState state, Action<TState, DependabotRegistries.All> all, Action<TState, DependabotRegistries.Named> named)
Parameters
stateTStateallAction<TState, DependabotRegistries.All>namedAction<TState, DependabotRegistries.Named>
Type Parameters
TState
Match<TState, TMatchOutput>(TState, Func<TState, All, TMatchOutput>, Func<TState, Named, TMatchOutput>)
public abstract TMatchOutput Match<TState, TMatchOutput>(TState state, Func<TState, DependabotRegistries.All, TMatchOutput> all, Func<TState, DependabotRegistries.Named, TMatchOutput> named)
Parameters
stateTStateallFunc<TState, DependabotRegistries.All, TMatchOutput>namedFunc<TState, DependabotRegistries.Named, TMatchOutput>
Returns
- TMatchOutput
Type Parameters
TStateTMatchOutput
UnwrapAll()
public abstract DependabotRegistries.All UnwrapAll()
Returns
UnwrapNamed()
public abstract DependabotRegistries.Named UnwrapNamed()