/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/Image.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coretypes/implementation/Image.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 86 by william, Fri Jul 16 23:35:21 2010 UTC revision 102 by william, Sat Jul 17 13:54:18 2010 UTC
# Line 3  using System.Collections.Generic; Line 3  using System.Collections.Generic;
3  using System.Text;  using System.Text;
4  using gr2lib.core.helpers;  using gr2lib.core.helpers;
5  using gr2lib.core.interfaces;  using gr2lib.core.interfaces;
6    using System.Diagnostics;
7  namespace gr2lib.core.coretypes.implementation  namespace gr2lib.core.coretypes.implementation
8  {  {
9      public class Image : IImage      public class Image : IImage
# Line 26  namespace gr2lib.core.coretypes.implemen Line 27  namespace gr2lib.core.coretypes.implemen
27              managed.NativePointer = pointer;              managed.NativePointer = pointer;
28              return managed;              return managed;
29              }              }
30              catch (Exception ex)              catch
31              {              {
32                  Console.WriteLine(ex.ToString());                  StackTrace st = new StackTrace(true);
33    #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
34                    Console.WriteLine(st.ToString());
35    #endif
36                  return default(Image);                  return default(Image);
37              }              }
38          }          }
# Line 53  namespace gr2lib.core.coretypes.implemen Line 57  namespace gr2lib.core.coretypes.implemen
57                  }                  }
58                  return managed;                  return managed;
59              }              }
60              catch (Exception ex)              catch
61              {              {
62                  Console.WriteLine(ex.ToString());                  StackTrace st = new StackTrace(true);
63    #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
64                    Console.WriteLine(st.ToString());
65    #endif
66                  return default(Image);                  return default(Image);
67              }              }
68          }          }

Legend:
Removed from v.86  
changed lines
  Added in v.102

  ViewVC Help
Powered by ViewVC 1.1.22