Type | 14 |Description | 15 |
---|---|
@Html.Raw(@exception.Link) | 21 |@Html.Raw(exception.Html) | 22 |
@Html.Raw(description)
7 | } 8 | } 9 | 10 | IReadOnlyList@categoryGroup.Key |
---|
Feature | 30 |Is supported | 31 | 32 | 33 |
---|---|
Null safe | @Html.Raw(GetSupportIcon(support[0])) |
Validation | @Html.Raw(GetSupportIcon(support[1])) |
EF Core | @Html.Raw(GetSupportIcon(support[2])) |
EF 6 | @Html.Raw(GetSupportIcon(support[3])) |
External Comparer | @Html.Raw(GetSupportIcon(support[4])) |
@Html.Raw(err)
12 | } 13 |Parameter | 24 |Description | 25 | 26 | 27 | @foreach(var param in parameters) 28 | { 29 | var keyValue = param.Split(new char[] { ':' }); 30 |
---|---|
@Html.Raw(keyValue[0]) | @Html.Raw(keyValue[1]) |
2 | GitHub
3 |
4 | Copyright © Michał Kowal.
5 |
6 | Generated by Wyam
7 |
@Html.Raw(Model.String(DocsKeys.Description))
49 | } 50 | @RenderBody() 51 |FluentSpecification
package.
2 | Order: 200
3 | ---
4 |
5 | @Html.Partial("_ChildPages")
--------------------------------------------------------------------------------
/docs/input/built-in/common/is-type.md:
--------------------------------------------------------------------------------
1 | Description: Checks if candidate is compatible with a given type.
2 | Order: 2300
3 | DisplayDescription: true
4 | Support: Full;Full;Full;None
5 | ValidationError: "Object is not type of [{Expected}]".;"Object is type of [{Expected}]" - for negation.
6 | ValidationParameters: Expected:Type passed in constructor.
7 | ---
8 |
9 | # Usage
10 |
11 | ```csharp
12 | var spec = Specification.IsTypeInvalidCastException
.
6 | ValidationParameters: Specification:Specification object passed in constructor.
7 | ---
8 |
9 | Useful, when you have two *Specifications* with different types and you want to join them, for one type of candidate.
10 |
11 | # Usage
12 |
13 | ```csharp
14 | var doubleSpec = Specification.CastFluentSpecification.Core
package.;These specifications are used most often along with others.
2 | Order: 100
3 | ---
4 |
5 | @Html.Partial("_ChildPages")
--------------------------------------------------------------------------------
/docs/input/built-in/index.cshtml:
--------------------------------------------------------------------------------
1 | Title: Built-in Specifications
2 | Order: 200
3 | ---
4 |
5 | @foreach(IDocument child in Model.DocumentList(Keys.Children).OrderBy(x => x.GetFluentSpecification
library content. Common Specifications and Fluent API construction.
2 | Order: 500
3 | ---
4 |
5 | [`FluentSpecification`](/FluentSpecification/api/FluentSpecification/) package contains common implementation of small reusable Specifications.
6 | All *Specifications* are based on *Specification design pattern*.
7 | Every built-in *Specification* implements `IComplexSpecificationFluentSpecification.Abstractions
or using base Specification classes in FluentSpecification.Core
.
2 | Order: 300
3 | ---
4 |
5 | @Html.Partial("_ChildPages")
--------------------------------------------------------------------------------
/docs/input/docs/custom-specifications/linq-specification.md:
--------------------------------------------------------------------------------
1 | Description: Custom Specification implementation for Linq.
2 | Order: 300
3 | ---
4 |
5 | For *Linq* scenarios, use `ILinqSpecification