¡@

Home 

c# Programming Glossary: decouple

Good Case For Interfaces

http://stackoverflow.com/questions/1335586/good-case-for-interfaces

Code decoupling. By programming to interfaces you decouple the code using the interface from the code implementing the..

Preserving exceptions from dynamically invoked methods

http://stackoverflow.com/questions/15668334/preserving-exceptions-from-dynamically-invoked-methods

Exception e if ... throw In general it would be a way to decouple throw from the requirement I have to be directly in a catch..

Usage of IoC Containers; specifically Windsor

http://stackoverflow.com/questions/367178/usage-of-ioc-containers-specifically-windsor

using the container as a Service Locator which doesn't decouple things as well as inversion of control. see difference here..

Handling the window closing event with WPF / MVVM Light Toolkit

http://stackoverflow.com/questions/3683450/handling-the-window-closing-event-with-wpf-mvvm-light-toolkit

behind mantra is not the goal in itself the point is to decouple ViewModel from the View . Even when the event is bound in code..

Dependency Injection

http://stackoverflow.com/questions/5171779/dependency-injection

service.Save .. dataContext.SubmitChanges I would like decouple the presenter from service and would like to inject TodoService..

When should I choose inheritance over an interface when designing C# class libraries?

http://stackoverflow.com/questions/5816563/when-should-i-choose-inheritance-over-an-interface-when-designing-c-sharp-class

Do use abstract classes instead of interfaces to decouple the contract from implementations. Abstract classes if defined..

Ways of keeping configuration code out of logic code using Dependency Injection

http://stackoverflow.com/questions/7288859/ways-of-keeping-configuration-code-out-of-logic-code-using-dependency-injection

configuration is best because it enables you to completely decouple the consumer from the source of the configuration values . However..

Is Unit Of Work and Repository Patterns very useful for big projects?

http://stackoverflow.com/questions/7940854/is-unit-of-work-and-repository-patterns-very-useful-for-big-projects

And having a UnitOfWork mechanism under the hood can help decouple your business logic from access to a some data access abstraction...

Is this Factory Method creation pattern?

http://stackoverflow.com/questions/806911/is-this-factory-method-creation-pattern

this implementation though provides encapsulation does not decouple delay any decision. Having said that same Wikipedia article..