Stories recently tagged with 'sharpregion'

The problem with SVN(sharpregion.com)

submitted by AdrianAisembergAdrianAisemberg(2004) 3 years, 6 months ago

Are you working on the most recent code? Read more... read more...

5 comments |category: |Views: 698

tags: another

A generic Dispenser class(sharpregion.com)

submitted by yoavsionyoavsion(345) 4 years ago

Feeling ashamed for keeping your clients waiting until your code finally constructs your heavy classes/forms? This utility instantiates objects in a background thread and aspires to always be "full" to the capacity requested. Useful in cases the object being constructed uses many resources and is consumed frequently. read more...

add a comment |category: |Views: 12

tags: another

Give back to your testing framework(sharpregion.com)

submitted by yoavsionyoavsion(345) 4 years, 1 month ago

Can there be code reuse in testing classes? Is code coverage the only measurement we have for test efficiency? Should our testing framework test design and meta-code as well as functionality? Use this test classes base-class to test some things you probably haven't tested before. read more...

add a comment |category: |Views: 5

tags: another

A C# fluent repeater(sharpregion.com)

submitted by AdrianAisembergAdrianAisemberg(2004) 4 years, 1 month ago

A fully-featured fluent class used for repeating method calls, handle exceptions, callbacks and more... Just plug-and-play and start repeating stuff! read more...

1 comment |category: |Views: 51

tags: another

Searching for derived types in an assembly(sharpregion.com)

submitted by yoavsionyoavsion(345) 4 years, 1 month ago

Sometimes we need to find all classes or interfaces that derive a certain Type. There are several possible scenarios for this kind of search - For instance, if we are trying to load a plug-in assembly at runtime and wish to initialize all the classes that implement the IPluginBase interface. Using the suggested DerivedHelper makes it a lot easier. read more...

add a comment |category: |Views: 21

tags: another

Debugging can screw things up(sharpregion.com)

submitted by AdrianAisembergAdrianAisemberg(2004) 4 years, 1 month ago

Using the 'DebuggerBrowsable' attribute to avoid debugging-misbehavior. read more...

1 comment |category: |Views: 5

tags: another

Enumerating the GAC using 'foreach'(sharpregion.com)

submitted by yoavsionyoavsion(345) 4 years, 1 month ago

Ever tried enumerating the Global assemblies cache? Now it has become easier. read more...

1 comment |category: |Views: 73

tags: another

[Flags] and you - Take 2(sharpregion.com)

submitted by yoavsionyoavsion(345) 4 years, 1 month ago

Comparing enum values can sometime leave your code a little messy and inaccessible. Using this small EnumHelper extension methods class, your code should be left a little more readable and fluent. read more...

add a comment |category: |Views: 14

tags: another

C# singleton snippet(sharpregion.com)

submitted by yoavsionyoavsion(345) 4 years, 1 month ago

I've decided to stop the copy-paste madness. Not that I use singletons so very often, but still - It never changes, so lets use a snippet. read more...

add a comment |category: |Views: 101

tags: another

Beware of the mysterious params in C#!(sharpregion.com)

submitted by AdrianAisembergAdrianAisemberg(2004) 4 years, 1 month ago

The 'params' keyword may behave different than you might think it should! This one is a must for every C# developer out there! read more...

add a comment |category: |Views: 38

tags: another

Fun with Continuous-Integration (Really!)(sharpregion.com)

submitted by AdrianAisembergAdrianAisemberg(2004) 4 years, 1 month ago

Introducing: BILTONS. Biltons are actually sound files that are played by the build-machine, according to the developer that made the last changes ("Build-Tones"). It really adds a lot of fun to the dev environment. read more...

add a comment |category: |Views: 14

tags: another

Using the Task Scheduler for saving memory(sharpregion.com)

submitted by AdrianAisembergAdrianAisemberg(2004) 4 years, 1 month ago

A Wallpaper Randomizer in C# can be a good example for using the Task Scheduler in windows for saving memory. read more...

3 comments |category: |Views: 22

tags: another

Events, Generics and Extension Methods(sharpregion.com)

submitted by AdrianAisembergAdrianAisemberg(2004) 4 years, 1 month ago

See some interesting new methods to deal with events and EventHandlers. read more...

1 comment |category: |Views: 11

tags: another