Questions tagged [fluent-interface]

Refers to a practice of coding object-oriented APIs with the aim of improving readability of the interface, normally implemented using method chaining. The phrase was first coined by Eric Evans and Martin Fowler.

Martin Fowler's explanation on what he considers to be the proper way to design fluent interfaces can be found at http://www.martinfowler.com/bliki/FluentInterface.html.

Related concepts:

437 questions
-1
votes
3 answers

Entity Framework compilation error. Class cannot be used as scalar property, because it does not have a getter and setter

With Code First approach and implementing a database for an existing system. Therefore I cannot make alot of changes to the existing code. That's why I'm using Fluent API and Entity Framework. When I'm trying to implement a new class (Vector) which…
jonas
  • 1,592
  • 3
  • 20
  • 29
-3
votes
2 answers

Create a base fluent ordered constructor

EDIT: Ok, seem example is unuseful... I have an ordered fluent constructor that is common to many object (all have tha same properties). Is there a way to put all the code in the same base factory class and have only the final costructor in the…
gt.guybrush
  • 1,320
  • 3
  • 19
  • 48
1 2 3
29
30