¡@

Home 

c# Programming Glossary: presenter

Complex UI inside ListBoxItem

http://stackoverflow.com/questions/15532639/complex-ui-inside-listboxitem

application In the past I've used the MVP model view presenter paradigm with Windows Forms. It works for separating the view..

Event Bubbling and MVP: ASP.NET

http://stackoverflow.com/questions/8851933/event-bubbling-and-mvp-asp-net

mechanisms. Note Can view be totally independant of presenter Note Each user control is separate views here Note Can there.. views here Note Can there be multiple views for same presenter like different controls for various users based on thier permisssion.. Method of View void AttachPresenter CurrentTimePresenter presenter using System public interface IMonthView Property of View string..

Best Practices of Test Driven Development Using C# and RhinoMocks [closed]

http://stackoverflow.com/questions/124210/best-practices-of-test-driven-development-using-c-sharp-and-rhinomocks

its behavior using Model View Controller or Model View Presenter. Reason Allows the business logic to be tested while the parts.. its behavior using Model View Controller or Model View Presenter. Agreed. Note that even the presenter controller can be tested.. by handing it a stubbed mocked view and model. Check out Presenter First TDD for more on that. Do not write static methods or classes...

How Do You Communicate Service Layer Messages/Errors to Higher Layers Using MVP?

http://stackoverflow.com/questions/21697/how-do-you-communicate-service-layer-messages-errors-to-higher-layers-using-mvp

that had a better separation of concerns. So with MVP the Presenter handles events raised by the View. Here's some code that I have.. deal with the creation of users public class CreateMemberPresenter private ICreateMemberView view private IMemberTasks tasks public.. view private IMemberTasks tasks public CreateMemberPresenter ICreateMemberView view this view new StubMemberTasks public..

Model-View-Presenter in WinForms

http://stackoverflow.com/questions/4794121/model-view-presenter-in-winforms

View Presenter in WinForms I am trying to implement the MVP method for the.. a bunch of controls on a Winform that will be handled by a Presenter and then the tasks delegated to the Model s . My specific points.. void Show this.form.ShowDialog interface IConfigurationPresenter void ShowView class ConfigurationPresenter IConfigurationPresenter..

Dependency Injection

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

_todoRepository new Repository Todo dataContext ... Presenter for the UI public class TodoPresenter public void Save Using.. dataContext ... Presenter for the UI public class TodoPresenter public void Save Using DataContext dataContext DataContextFactory.GetNewContextForDatabase1.. that creates the context and the service public class TodoPresenter private Func DataContext dataContextFactory private Func DataContext..

How do you get around multiple database connections inside a TransactionScope if MSDTC is disabled?

http://stackoverflow.com/questions/761031/how-do-you-get-around-multiple-database-connections-inside-a-transactionscope-if

using var transaction new TransactionScope Presenter.ProcessWorkflow The Presenter in this case has already been.. new TransactionScope Presenter.ProcessWorkflow The Presenter in this case has already been set up. The problem comes into.. database to target a different one. For brevity the Presenter resembles something like public void ProcessWorkflow LogRepository.LogSomethingInLogDatabase..

Event Bubbling and MVP: ASP.NET

http://stackoverflow.com/questions/8851933/event-bubbling-and-mvp-asp-net

it comply with MVP model string monthValueToPass TEST monthPresenter.SetMonth monthValueToPass The expectation is to create MVP that.. users based on thier permisssion GUIDELINES Model View Presenter Guidelines COMPLETE CODE using System public interface ICurrentTimeView.. View DateTime CurrentTime set Method of View void AttachPresenter CurrentTimePresenter presenter using System public interface..

Looking for clean WinForms MVC tutorial for C#

http://stackoverflow.com/questions/955973/looking-for-clean-winforms-mvc-tutorial-for-c-sharp

same thing as you and found this helpful. It is Model View Presenter but still quite informative. http www.cerquit.com blogs post..