Click here to Skip to main content
15,908,444 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which is better? (Communications between classes) Pin
led mike26-Oct-06 6:49
led mike26-Oct-06 6:49 
GeneralRe: Which is better? (Communications between classes) Pin
led mike26-Oct-06 5:58
led mike26-Oct-06 5:58 
GeneralRe: Which is better? (Communications between classes) Pin
Pete O'Hanlon26-Oct-06 6:39
mvePete O'Hanlon26-Oct-06 6:39 
QuestionHow to do https request and get correct Response using MSXML dll? Pin
pubududilena26-Oct-06 3:41
pubududilena26-Oct-06 3:41 
AnswerRe: How to do https request and get correct Response using MSXML dll? Pin
led mike26-Oct-06 6:18
led mike26-Oct-06 6:18 
GeneralRe: How to do https request and get correct Response using MSXML dll? Pin
pubududilena13-Nov-06 1:56
pubududilena13-Nov-06 1:56 
GeneralRe: How to do https request and get correct Response using MSXML dll? Pin
led mike13-Nov-06 7:23
led mike13-Nov-06 7:23 
QuestionAnonymous Methods Pin
mohanlon26-Oct-06 3:23
mohanlon26-Oct-06 3:23 
Can you help me, I have had to decompile some code as they have lost the code and the programmer who created the code is no longer with the company.

Not sure how the code look like before it was compiled and i have not done any work on Anonymous Methods, which i belive it was.

Can someone help me?


<br />
    public class UpdateController<br />
    {<br />
        [CompilerGenerated]<br />
        private void <BeginUpdating>b__0()<br />
        {<br />
              this._updating--;<br />
        }<br />
<br />
        public IDisposable BeginUpdating()<br />
        {<br />
              this._updating++;<br />
              return new DisposeHelper(new DisposeHelper.DisposeDelegate(this.<BeginUpdating>b__0));<br />
        }<br />
<br />
        public bool NotUpdating<br />
        {<br />
            get<br />
            {<br />
                return (this._updating == 0);<br />
            }<br />
        }<br />
<br />
<br />
        private int _updating;<br />
    }<br />
<br />
    public class DisposeHelper : IDisposable<br />
    {<br />
        public DisposeHelper(DisposeDelegate dispose)<br />
        {<br />
            this._dispose = dispose;<br />
        }<br />
<br />
        public void Dispose()<br />
        {<br />
            this._dispose();<br />
        }<br />
<br />
<br />
        private DisposeDelegate _dispose;<br />
<br />
<br />
        public delegate void DisposeDelegate();<br />
<br />
    }<br />


Thanks...........
AnswerRe: Anonymous Methods Pin
ednrgc26-Oct-06 4:24
ednrgc26-Oct-06 4:24 
GeneralRe: Anonymous Methods Pin
mohanlon26-Oct-06 5:32
mohanlon26-Oct-06 5:32 
GeneralRe: Anonymous Methods Pin
Pete O'Hanlon26-Oct-06 6:42
mvePete O'Hanlon26-Oct-06 6:42 
GeneralRe: Anonymous Methods Pin
ednrgc26-Oct-06 6:58
ednrgc26-Oct-06 6:58 
GeneralRe: Anonymous Methods Pin
mohanlon26-Oct-06 8:37
mohanlon26-Oct-06 8:37 
GeneralRe: Anonymous Methods Pin
mohanlon26-Oct-06 8:49
mohanlon26-Oct-06 8:49 
Questionusing stringbuilder Pin
DownBySpj26-Oct-06 3:20
DownBySpj26-Oct-06 3:20 
AnswerRe: using stringbuilder Pin
ednrgc26-Oct-06 4:12
ednrgc26-Oct-06 4:12 
AnswerRe: using stringbuilder Pin
Pete O'Hanlon26-Oct-06 6:44
mvePete O'Hanlon26-Oct-06 6:44 
QuestionStreamReader problem Pin
Tavbi26-Oct-06 3:08
Tavbi26-Oct-06 3:08 
AnswerRe: StreamReader problem Pin
Andrew Rissing26-Oct-06 3:17
Andrew Rissing26-Oct-06 3:17 
GeneralRe: StreamReader problem Pin
Tavbi26-Oct-06 20:44
Tavbi26-Oct-06 20:44 
GeneralRe: StreamReader problem Pin
Andrew Rissing27-Oct-06 3:30
Andrew Rissing27-Oct-06 3:30 
AnswerRe: StreamReader problem Pin
ednrgc26-Oct-06 3:20
ednrgc26-Oct-06 3:20 
GeneralRe: StreamReader problem Pin
Tavbi26-Oct-06 20:38
Tavbi26-Oct-06 20:38 
QuestionMaking desktop application resolution independent? Pin
Mridang Agarwalla26-Oct-06 2:43
Mridang Agarwalla26-Oct-06 2:43 
AnswerRe: Making desktop application resolution independent? Pin
Pete O'Hanlon26-Oct-06 4:34
mvePete O'Hanlon26-Oct-06 4:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.