| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
2 Articles match "Article","Base Classes"
| Related DevelopMentor Courses | MORE | | Screening C# Candidates: Let’s Play 20 Questions! Can a class have more than one direct base class? What keyword makes a member visible to inherited classes? What keyword makes a class visible only within its assembly? What keyword prevents a class from being used as a base class? What keyword constrains a generic type argument to derive from a particular class? If a person has ever bothered to read a book or technical article or taken a training course, their answers will set them apart from the crowd of folks who don’t make time for ongoing professional development. DevelopMentor Courses - Tuesday, February 28, 2012 Use Common Instance Factory to Abstract Away the Dependency Injection Container There are various ways to implement dependency injection, but the most common is a technique called “constructor injection,” in which a class provides a constructor that accepts one or more interfaces as parameters. public class GreetingService : IGreetingService { private readonly IGreetingRepository _greetingRepository; public GreetingService( IGreetingRepository greetingRepository) { _greetingRepository = greetingRepository; } public string Greet( string name) { string greeting = _greetingRepository.GetGreeting(); return string.Format( " {0} {1} " , greeting, name); } }. DevelopMentor Courses - Wednesday, May 23, 2012 |
12 Articles match "Article","Base Classes"
| The Latest from DevelopMentor | MORE | | Use Common Instance Factory to Abstract Away the Dependency Injection Container There are various ways to implement dependency injection, but the most common is a technique called “constructor injection,” in which a class provides a constructor that accepts one or more interfaces as parameters. public class GreetingService : IGreetingService { private readonly IGreetingRepository _greetingRepository; public GreetingService( IGreetingRepository greetingRepository) { _greetingRepository = greetingRepository; } public string Greet( string name) { string greeting = _greetingRepository.GetGreeting(); return string.Format( " {0} {1} " , greeting, name); } }. DevelopMentor Courses - Wednesday, May 23, 2012 Screening C# Candidates: Let’s Play 20 Questions! Can a class have more than one direct base class? What keyword makes a member visible to inherited classes? What keyword makes a class visible only within its assembly? What keyword prevents a class from being used as a base class? What keyword constrains a generic type argument to derive from a particular class? If a person has ever bothered to read a book or technical article or taken a training course, their answers will set them apart from the crowd of folks who don’t make time for ongoing professional development. DevelopMentor Courses - Tuesday, February 28, 2012 Simple MVVM Toolkit versus MVVM Light Toolkit It is designed with the idea that a design based on simplicity reduces the time spent learning a framework and makes your apps easier to develop and maintain. In fact, Simple MVVM Toolkit includes just about every feature you need to build real-world line of business apps based on the MVVM design pattern. While Laurent lists a number of articles and tutorials that have been written about MVVM Light, I was unable to locate very many samples available for download which demonstrate how to use his toolkit and its various features. Platforms. Support. Usability. That’s it. Tony and Zuzana's World - Saturday, April 23, 2011 | -
| The Best from DevelopMentor | MORE | - Six Things That’ll Surprise You About.NET 4.0
I recently wrote an article for DevelopMentor ’s Developments entitled. You can read the entire article (republished just below this introduction) or if you’d rather see it as a quick set of 6 sides, you can see those here: Six Things That’ll Surprise You About.NET 4.0. In this article, we will explore some of the new features of the.NET 4.0 Note: Everything discussed below is based on.NET 4.0 For example, one style of development where developers sketch out a scenario in code involving a set of classes before they are completely written was painful in VS 2008 (e.g. Michael C. Kennedy's Weblog - Wednesday, November 11, 2009 - Screening C# Candidates: Let’s Play 20 Questions!
Can a class have more than one direct base class? What keyword makes a member visible to inherited classes? What keyword makes a class visible only within its assembly? What keyword prevents a class from being used as a base class? What keyword constrains a generic type argument to derive from a particular class? If a person has ever bothered to read a book or technical article or taken a training course, their answers will set them apart from the crowd of folks who don’t make time for ongoing professional development. DevelopMentor Courses - Tuesday, February 28, 2012 - NativeActivity – A Tricky Beast
At this point you have to fall back to writing code and there are three options for your base class when writing an activity in code: CodeActivity. NativeActivity can be a bit tricky so that is what this article is about. talked about is a while back here when the PDC CTP first came out (that’s what the reference to some base class called WorkflowElement is about) but to expand a little: The Activity is really just a template containing the code to execute for the activity. 2: public class Retry : NativeActivity. with Maurice for DevelopMentor. 13: {. .NET Meanderings - Tuesday, February 9, 2010 - Simple MVVM Toolkit versus MVVM Light Toolkit
It is designed with the idea that a design based on simplicity reduces the time spent learning a framework and makes your apps easier to develop and maintain. In fact, Simple MVVM Toolkit includes just about every feature you need to build real-world line of business apps based on the MVVM design pattern. While Laurent lists a number of articles and tutorials that have been written about MVVM Light, I was unable to locate very many samples available for download which demonstrate how to use his toolkit and its various features. Platforms. Support. Usability. That’s it. Tony and Zuzana's World - Saturday, April 23, 2011 - Use Common Instance Factory to Abstract Away the Dependency Injection Container
There are various ways to implement dependency injection, but the most common is a technique called “constructor injection,” in which a class provides a constructor that accepts one or more interfaces as parameters. public class GreetingService : IGreetingService { private readonly IGreetingRepository _greetingRepository; public GreetingService( IGreetingRepository greetingRepository) { _greetingRepository = greetingRepository; } public string Greet( string name) { string greeting = _greetingRepository.GetGreeting(); return string.Format( " {0} {1} " , greeting, name); } }. DevelopMentor Courses - Wednesday, May 23, 2012 - Creating Rich Composite Activities
3: public class ForEachFile : NativeActivity, IActivityTemplateFactory. As you can see the class derives from NativeActivity and overrides CacheMetadata and Execute – we’ll look at their implementations in a minute. There are three member variables in the class: the InArgument for the directory; an implementation variable to hold the iterator as we move through the files in the directory; the all important ActivityAction which we will use to pass the current file name to the child activity. If you read my previous article there are a couple of new things here. 13: {. .NET Meanderings - Sunday, February 14, 2010 - Using the Message Mediator Service in MVVM Helpers
53: /// If a derived type is passed, any handlers for interfaces or base types will also be. 71: /// If a derived type is passed, any handlers for interfaces or base types will also be. project in Visual Studio 2010 – I’ll name it MessageMediatorExamples for clarity (the code is at the end of the article if you’d like to download the sample). To show off the mediator, I setup the MainWindow to have a TextBox as it’s primary content – I then created a ViewModel to hold the data for it: public class MainViewModel : ViewModel. {. 3: ///. Any methods decorated with. %>
| | |