DotNetShoutout - Stories tagged with Command
7
Shouts

Using timer based Unit of Work and Command classes to measure repositories performance

published 977 days, 1 hour, 51 minutes ago posted by gpeipmangpeipman 978 days, 7 hours, 41 minutes ago
Wednesday, September 15, 2010 2:59:37 PM GMT Tuesday, September 14, 2010 9:10:13 AM GMT
In my last post Find out how long your method runs I introduced how to measure the speed of code using actions. In this posting I will make a step further and give you some ideas about how to create easily measurable code units and how to build measurable scenarios of them. As a foundation I use simplified versions of patterns like Command and Unit of Work. (more)
category: How To | clicked: 0 | comment | | source: weblogs.asp.net
tags: Command, .NET, Unit of Work, timer, Performance
4
Shouts

Execute a command on a specified control when clicking on a button

published 1067 days, 3 hours, 15 minutes ago posted by jmix90jmix90 1068 days, 3 hours, 16 minutes ago
Thursday, June 17, 2010 1:36:18 PM GMT Wednesday, June 16, 2010 1:34:47 PM GMT
Today another example of the powerful ramora pattern : execute a RoutedCommand on an Control when you click on a button outside of the aimed control scope. Our implementation will also show *how we can apply the "Weak Events pattern" with the dependency property trick *(attached property / ramora pattern). And of course this example can be adapted to subscribe on any event you wants and not only the click of a button. (more)
category: Smart Client | clicked: 4 | comment | | source: blog.lexique-du-net.com
tags: tricks, Command, Attached behavior, How-To, routed commands, Dependency Property, WPF, how to, Behavior, How, Tips, Tips & Tricks.