¡@

Home 

c# Programming Glossary: design

Design - Where should objects be registered when using Windsor

http://stackoverflow.com/questions/1410719/design-where-should-objects-be-registered-when-using-windsor

glue the layers together but I am bit uncertain about the design of the gluing. My question is who should be responsible for.. Castle Windsor in this way would be very helpful. c# design inversion of control castle windsor share improve this question.. Doubles to them from the unit tests. It is best if you can design all of your modules to be container agnostic. Also specifically..

Method can be made static, but should it?

http://stackoverflow.com/questions/169378/method-can-be-made-static-but-should-it

move them to a utility class unless it makes sense in your design. If the static method relates to a particular type like a ToRadians..

Dependency Inject (DI) “friendly” library

http://stackoverflow.com/questions/2045904/dependency-inject-di-friendly-library

Inject DI &ldquo friendly&rdquo library I'm pondering the design of a C# library that will have several different high level.. level functions will be implemented using the SOLID class design principles as much as possible. As such there will probably.. end user classes. The question is what is the best way to design the library so it is DI Agnostic Although adding basic support..

Creating Wizards for Windows Forms in C# [closed]

http://stackoverflow.com/questions/2340566/creating-wizards-for-windows-forms-in-c-sharp

Or make one of them Visible true for each step. The UC design tends to get convoluted though you have to add public properties.. and RAD way is to use a TabControl. Works very well in the designer since it allows you to switch tabs at design time and drop.. well in the designer since it allows you to switch tabs at design time and drop controls on each tab. Switching steps is trivial..

When should I dispose of a data context

http://stackoverflow.com/questions/389822/when-should-i-dispose-of-a-data-context

really need to dispose of them in most cases and that's by design. I personally prefer to do so anyway as it's easier to follow..

Splash Screen waiting until thread finishes

http://stackoverflow.com/questions/392864/splash-screen-waiting-until-thread-finishes

take a stab and say this... I don't fully understand your design here but if the issue is that when you launch a second application..

Casting vs using the 'as' keyword in the CLR

http://stackoverflow.com/questions/496096/casting-vs-using-the-as-keyword-in-the-clr

vs using the 'as' keyword in the CLR I'm learning about design patterns and because of that I've ended using a lot of interfaces...

Use of Application.DoEvents()

http://stackoverflow.com/questions/5181777/use-of-application-doevents

by DoEvents and threads but in large part by WinRT's api design that requires you to keep your UI updated while an asynchronous..

How to handle WndProc messages in WPF?

http://stackoverflow.com/questions/624367/how-to-handle-wndproc-messages-in-wpf

of interop for working with another WinForms app . The design ideology and the nature of the API is very different in WPF..

Difference between Property and Field in C# 3.0+

http://stackoverflow.com/questions/653536/difference-between-property-and-field-in-c-sharp-3-0

here the other reason is that it's simply not good OO design. And if you don't have a very good reason for doing it always..

POCO vs DTO

http://stackoverflow.com/questions/725348/poco-vs-dto

in .Net. Don't let frameworks dictate your object's design. A DTO's only purpose is to transfer state and should have no.. there's a mismatch in structure since DTOs should be designed to transfer data not to represent the true structure of the.. POCOs and translating them to DTOs. DDD domain driven design defines the anti corruption layer another link here but best..

C# Events and Thread Safety

http://stackoverflow.com/questions/786383/c-sharp-events-and-thread-safety

this before they can be used as part of a multi threaded design. Consequently people who are not taking that additional care..

Why is Multiple Inheritance not allowed in Java or C#?

http://stackoverflow.com/questions/995255/why-is-multiple-inheritance-not-allowed-in-java-or-c

tell me precisely why it is not allowed c# java language design multiple inheritance share improve this question The short.. this question The short answer is because the language designers decided not to. Basically it seemed that both the .NET and.. not to. Basically it seemed that both the .NET and Java designers did not allow multiple inheritance because they reasoned..

Event Signature in .NET — Using a Strong Typed 'Sender'?

http://stackoverflow.com/questions/1046016/event-signature-in-net-using-a-strong-typed-sender

turn Here are some related links that I've found 1 Event Design Guidelines MSDN 3.5 2 C# simple Event Raising using œsender vs... does the trick SuppressMessage Microsoft.Design CA1009 DeclareEventHandlersCorrectly Justification Using strong..

Making Entity Class Closed for Changes

http://stackoverflow.com/questions/11425993/making-entity-class-closed-for-changes

Pattern and Dependency Injection using Unity C# Strategy Design Pattern by Delegate vs OOP How to use the Strategy Pattern with..

Design - Where should objects be registered when using Windsor

http://stackoverflow.com/questions/1410719/design-where-should-objects-be-registered-when-using-windsor

Where should objects be registered when using Windsor I will..

Open source cad drawing (dwg) library in C#

http://stackoverflow.com/questions/169390/open-source-cad-drawing-dwg-library-in-c-sharp

they acquired it years ago . Not open source but the Open Design Alliance ... from their Web site ... is a non profit membership..

Why does C# not provide the C++ style 'friend' keyword?

http://stackoverflow.com/questions/203616/why-does-c-sharp-not-provide-the-c-style-friend-keyword

quite as elegant as using the friend keyword. The original Design Patterns book uses it regularly throughout its examples. So..

Dependency Inject (DI) “friendly” library

http://stackoverflow.com/questions/2045904/dependency-inject-di-friendly-library

This principle is actually a quote from memory though from Design Patterns but it should always be your real goal . DI is just.. here Where should I do dependency injection with Ninject 2 Design Where should objects be registered when using Windsor Simplify..

How to enable design support in a custom control?

http://stackoverflow.com/questions/2785376/how-to-enable-design-support-in-a-custom-control

a ListView on a Form and add some columns I am able in Design Time to click and drag the columns to resize them. Example 2.. to click and drag the column headers to resize them in Design Time. Is there any way to easily make that happen Some form.. The designer for a ListView is System.Windows.Forms.Design.ListViewDesigner an internal class in the System.Design.dll..

Repository pattern tutorial in C# [closed]

http://stackoverflow.com/questions/3175/repository-pattern-tutorial-in-c-sharp

question A good place is the book Applying Domain Driven Design and Patterns by Jimmy Nilsson My blog post Using the unit of..

multimap in .NET

http://stackoverflow.com/questions/380595/multimap-in-net

it's almost christmas Algorithmia is c 2008 Solutions Design. All rights reserved. http www.sd.nl COPYRIGHTS Copyright.. http www.sd.nl COPYRIGHTS Copyright c 2008 Solutions Design. All rights reserved. The Algorithmia library sourcecode and.. official policies either expressed or implied of Solutions Design. Contributers to the code Frans Bouma FB using System..

When to use struct in C#?

http://stackoverflow.com/questions/521298/when-to-use-struct-in-c

Entry as a reference type can be found at MSDN Structure Design . In short Do not provide a default constructor for a structure...

Properties vs Methods

http://stackoverflow.com/questions/601621/properties-vs-methods

the Choosing Between Properties and Methods section of Design Guidelines for Developing Class Libraries In general methods..

How expensive are exceptions in C#?

http://stackoverflow.com/questions/891217/how-expensive-are-exceptions-in-c

.NET Exceptions Solution Also reference Krzysztof Cwalina Design Guidelines Update Exception Throwing share improve this answer..

?œDo not use Abstract Base class in Design; but in Modeling/Analysis??/a>

http://stackoverflow.com/questions/9470013/do-not-use-abstract-base-class-in-design-but-in-modeling-analysis

.NET Exceptions Solution Also reference Krzysztof Cwalina Design Guidelines Update Exception Throwing share improve this answer..

WCF - Design Parameter Decision

http://stackoverflow.com/questions/9553267/wcf-design-parameter-decision

Design Parameter Decision I am designing a service for FundManagement...