Struct Step_1__Motiv_Spec<TModel>
- Namespace
- Motiv
- Assembly
- Motiv.dll
Motiv.BooleanPredicateProposition.PropositionBuilders.AsyncExplanationWithNamePropositionFactory<TModel> Motiv.BooleanPredicateProposition.PropositionBuilders.AsyncMultiAssertionExplanationWithNamePropositionFactory<TModel>
public readonly struct Step_1__Motiv_Spec<TModel>
Type Parameters
TModel
- Inherited Members
- Extension Methods
Methods
WhenFalse(in Func<TModel, string>)
The explanation for when the predicate is false.
<xref href="Motiv.BooleanPredicateProposition.PropositionBuilders.AsyncExplanationWithNamePropositionFactory%601" data-throw-if-not-resolved="false"></xref>
public AsyncExplanationWithNamePropositionFactory<TModel> WhenFalse(in Func<TModel, string> whenFalse)
Parameters
Returns
- AsyncExplanationWithNamePropositionFactory<TModel>
WhenFalse(in string)
The explanation for when the predicate is false.
<xref href="Motiv.BooleanPredicateProposition.PropositionBuilders.AsyncExplanationWithNamePropositionFactory%601" data-throw-if-not-resolved="false"></xref>
public AsyncExplanationWithNamePropositionFactory<TModel> WhenFalse(in string whenFalse)
Parameters
whenFalsestring
Returns
- AsyncExplanationWithNamePropositionFactory<TModel>
WhenFalseYield(in Func<TModel, IEnumerable<string>>)
The explanation for when the predicate is false.
<xref href="Motiv.BooleanPredicateProposition.PropositionBuilders.AsyncMultiAssertionExplanationWithNamePropositionFactory%601" data-throw-if-not-resolved="false"></xref>
public AsyncMultiAssertionExplanationWithNamePropositionFactory<TModel> WhenFalseYield(in Func<TModel, IEnumerable<string>> falseBecause)
Parameters
falseBecauseFunc<TModel, IEnumerable<string>>
Returns
- AsyncMultiAssertionExplanationWithNamePropositionFactory<TModel>