![]() |
VOOZH | about |
dotnet add package Ministry.Compositions --version 2.0.0
NuGet\Install-Package Ministry.Compositions -Version 2.0.0
<PackageReference Include="Ministry.Compositions" Version="2.0.0" />
<PackageVersion Include="Ministry.Compositions" Version="2.0.0" />Directory.Packages.props
<PackageReference Include="Ministry.Compositions" />Project file
paket add Ministry.Compositions --version 2.0.0
#r "nuget: Ministry.Compositions, 2.0.0"
#:package Ministry.Compositions@2.0.0
#addin nuget:?package=Ministry.Compositions&version=2.0.0Install as a Cake Addin
#tool nuget:?package=Ministry.Compositions&version=2.0.0Install as a Cake Tool
This project provides a suite of extension methods that enable fluent, functional style coding when manipulating objects.
Adds the given new object to a collection and returns the collection. To be used as a preferred form to traditional collection Add when chaining is necessary or when updating an EF object tree.
FOR EF: Usage of this method ensures object trees are populated in the correct order for persistence of IDs.
Adds the given new collection to a collection and returns the collection. To be used as a preferred form to traditional collection Add when chaining is necessary or when updating an EF object tree.
FOR EF: Usage of this method ensures object trees are populated in the correct order for persistence of IDs.
Adds the given new collection, evaluating each item against a given predicate, to a collection and returns the collection. Allows adding collections conditionally, for example, removing duplicates.
Adds the given new collection, evaluating each item against a given predicate, to the specified collection property and returns the parent object. Allows adding collections conditionally, for example, removing duplicates.
Adds the given new object to a collection and returns the object that was added. To be used as a preferred form to traditional collection Add when chaining is necessary or when updating an EF object tree.
FOR EF: Usage of this method ensures object trees are populated in the correct order for persistence of IDs.
Removes the given new object from a collection and returns the collection. To be used as a preferred form to traditional collection Add when chaining is necessary or when updating an EF object tree.
FOR EF: Usage of this method ensures object trees are populated in the correct order for persistence of IDs.
Evaluates each item in a collection against a given predicate, removes the offending items, then returns the collection. Allows removing items from collections conditionally, for example, removing duplicates.
Enables functional composition of a method, enabling chaining. Currently methods with up to 3 parameters are supported. Feel free to form an update to add more parameters - these updates would be most welcome.
Sets the specified navigation property value on an object to enable chaining and to ensure that the object tree is built in the right order, returning the object.
Sets the specified navigation property value on an object to enable chaining and to ensure that the object tree is built in the right order, returning the object property value.
These are void return methods.
Adds the provided collection to the existing collection.
A fluent version of the for each loop. Do NOT use with async calls.
A fluent version of the for each loop for async calls.
Projects all property values from the input object on the passed in target object, if they are present in both. This is a really simple way of mapping matching data between types. If choosing to persist existing values please note that, due to it's binary nature, boolean values will not persist and must be re-set. Returns the output object.
Uses the provided function to project one type into another type. Returns the output object.
Uses the provided function to project one type into another type and increments an accumulator. Returns the output object.
Partitions the specified list into blocks of the provided size.
Various additional overloads for Select. Maps the specified predicate to project each instance of one type in the collection into another type using an accumulator to build value increments for the mapping.
Flattens a collection of collections down to a single collection.
Sorts the specified collection according to the comparison provided.
Welcome to The Ministry of Technology open source products. All open source Ministry of Technology products are distributed under the MIT License for maximum re-usability. Our other open source repositories can be found here...
You can download the package for this project from any of the following package managers...
If you would like to contribute to the project, please contact me.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp1.0 netcoreapp1.0 was computed. netcoreapp1.1 netcoreapp1.1 was computed. netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard1.6 netstandard1.6 is compatible. netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 is compatible. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen30 tizen30 was computed. tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 4 NuGet packages that depend on Ministry.Compositions:
| Package | Downloads |
|---|---|
|
Umbraco.Pylon
Core classes to aid with more code orientated Umbraco implementations. |
|
|
UmbracoPylon.Autofac
Core classes to aid with more code orientated Umbraco implementations. |
|
|
UmbracoPylon
Core classes to aid with more code orientated Umbraco implementations. |
|
|
Ministry.Csv
CSV Component Package |
This package is not used by any popular GitHub repositories.