Q
Q
qwead2017-12-12 08:23:22
Software design
qwead, 2017-12-12 08:23:22

What is the essence of the bridge pattern?

Do I understand correctly that the meaning is that the client himself determines which implementation (Implementation
) will be used by us developed class (MyClass) ?

public class Client
{
  public static void Main()
  {
    var obj = new MyClass(new Implementation());
  }
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
Xapu3ma, 2017-12-12
@qwead

Yes, we separate abstraction from implementation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question