today I want to share my usage if IDisposable interface in C#.
Before code presentation some explanations:
1. If created by me class uses some unmanaged resources then it means that I should also implement IDisposable interface in order to clean memory. 2. Clean objects as soon as I finished usage of it. 3. In my dispose method I iterate over all IDisposable members of class and call Dispose.4. In my Dispose method call GC.SuppressFinalize(this) in order to notify garbage collector that my object was already cleaned up. I do it because calling of GC is expensive operation.5. As additional precaution I try to make possible calling of Dispose() multiple times.6. Sometime I … more
Here is just shorp version of application which searches for duplicates in folder.
In downloadable archive you can find my implementation of searcher with Task, ContinueWith and some other new features of C# 4.5 more
Today I want to share notice of how to work with processing screens.
But of course not in very standard situation. One of my clients requested me the following: he wanted at processing screen to select some items in screen in part 1, then monitor
results in part two, and see some totals in part three.
As you understand it's not easy to ahcieve this goal only with help of selectors. It is possible with usage of delegates in Acumatica and with usage of it's cache.
Initial initialization of page was the following:
public class RRCashRequestProcessor : PXGraph<RRCashRequestProcessor>
public PXCancel<CreatePaymentFilter> Cancel; … more
today I want to write a notice about Project estimation. One of the important facetcs of making estimates is to make document, in which to describe definitions of project, which need to be estimated.
For this purpose I will create Word document with title page, table of contents and following categories:
In order to make good estimate it's good to clarify with potential stakeholder following categories:
What's in/out of scope
Return on Investment
Policies and Standards … more
today I want to write some notice about PCL, aka portable class library. It's possible to make library which will be possible to make library for Windows Phone 7, Xbox 360, .Net for Windows Store apps.