Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : thefluentificator

The Fluentificator allows you to declare object and assign them values in a Fluent way Just include TheFluentificator namespace in your class and you're ready. Wherever you need to create objects, or edit objects, you now have the With extension method, and you can call it in chain. Example: public class Test { String testString {get; set;} } var test = new Test().With(m => m.testString = "Awesome"); Now The Fluentificator allows you to map different objects! Example: var dto = entity.Map<DtoClass>() .With(m => m.Nested = entity.Nested.Map<NestedDto>()); Map is created with property with same name and same type. Nested class has to be mapped separately with the With syntax as shown in the example. You can also say TheFluentificator to not map a property with the Attribute [NotMapped] and that's all. easy right? :) I love the chaining fluent construction, and that's why I made this package. Have fun using it and feel free to email me for every suggestion you may have

Registry - JSON
purl: pkg:nuget/thefluentificator
Keywords: Fluent, Fluentificator
License:
Latest release: over 8 years ago
First release: over 124 years ago
Downloads: 4,623 total
Last synced: about 1 month ago

    Loading...
    Readme
    Loading...