Click here to Skip to main content
15,881,967 members
Articles / Programming Languages / C# 3.5

Enhanced ObservableCollection with ability to delay or disable notifications

Rate me:
Please Sign up or sign in to vote.
4.86/5 (42 votes)
29 Jan 2013CPOL7 min read 209.5K   4.4K   124  
Implements delayed or disabled INotifyCollectionChanged.
@REM initialize test value to be "true"
@SET intConsumers=1

:again

@SET intCounter=1

:while

@REM test condition
@IF %intCounter% GTR 30 (GOTO wend)
@IF %intConsumers% GTR 10 (GOTO done)

PerformanceTest.exe %intConsumers% >> test%intConsumers%.txt

@REM set new test value
@SET /a intCounter=intCounter+1


@REM loop
@GOTO while

:wend

@SET /a intConsumers=intConsumers+intConsumers


@REM loop
@GOTO again


:done

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
Senior Software Engineer with over 20+ years of experience in variety of technologies, development tools and programming languages.

Microsoft Certified Specialist programming in C#, JavaScript, HTML, CSS

Comments and Discussions