Changeset 2762


Ignore:
Timestamp:
7/3/2012 12:03:22 AM (22 months ago)
Author:
lowjoel
Message:

All event handlers should be explicitly declared event.

Location:
branches/eraser6/EraserService
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/EraserService/Eraser.Manager/Executor.cs

    r2749 r2762  
    115115        /// The task added event object. 
    116116        /// </summary> 
    117         public EventHandler<TaskEventArgs> TaskAdded { get; set; } 
     117        public event EventHandler<TaskEventArgs> TaskAdded; 
    118118 
    119119        /// <summary> 
     
    129129        /// The task added event object. 
    130130        /// </summary> 
    131         public EventHandler<TaskEventArgs> TaskDeleted { get; set; } 
     131        public event EventHandler<TaskEventArgs> TaskDeleted; 
    132132 
    133133        /// <summary> 
  • branches/eraser6/EraserService/Eraser.Plugins/Host.cs

    r2737 r2762  
    156156        /// the given plugin. 
    157157        /// </summary> 
    158         public EventHandler<PluginLoadEventArgs> PluginLoad { get; set; } 
     158        public event EventHandler<PluginLoadEventArgs> PluginLoad; 
    159159 
    160160        /// <summary> 
    161161        /// The plugin loaded event. 
    162162        /// </summary> 
    163         public EventHandler<PluginLoadedEventArgs> PluginLoaded { get; set; } 
     163        public event EventHandler<PluginLoadedEventArgs> PluginLoaded; 
    164164 
    165165        /// <summary> 
  • branches/eraser6/EraserService/Eraser.Plugins/IRegistrar.cs

    r2516 r2762  
    6060        /// registered. 
    6161        /// </summary> 
    62         EventHandler<EventArgs> Registered { get; set; } 
     62        event EventHandler<EventArgs> Registered; 
    6363 
    6464        /// <summary> 
     
    6666        /// unregistered. 
    6767        /// </summary> 
    68         EventHandler<EventArgs> Unregistered { get; set; } 
     68        event EventHandler<EventArgs> Unregistered; 
    6969    } 
    7070 
     
    254254        } 
    255255 
    256         public EventHandler<EventArgs> Registered { get; set; } 
    257  
    258         public EventHandler<EventArgs> Unregistered { get; set; } 
     256        public event EventHandler<EventArgs> Registered; 
     257 
     258        public event EventHandler<EventArgs> Unregistered; 
    259259 
    260260        #endregion 
     
    454454        } 
    455455 
    456         public EventHandler<EventArgs> Registered { get; set; } 
    457  
    458         public EventHandler<EventArgs> Unregistered { get; set; } 
     456        public event EventHandler<EventArgs> Registered; 
     457 
     458        public event EventHandler<EventArgs> Unregistered; 
    459459 
    460460        #endregion 
  • branches/eraser6/EraserService/Eraser.Util/Theming.cs

    r2516 r2762  
    241241            /// Called when a WM_THEMECHANGED message is sent. 
    242242            /// </summary> 
    243             public EventHandler<EventArgs> ThemeChanged 
    244             { 
    245                 get; 
    246                 set; 
    247             } 
     243            public event EventHandler<EventArgs> ThemeChanged; 
    248244 
    249245            private bool ThemesActive; 
Note: See TracChangeset for help on using the changeset viewer.