~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeTemplates/CodeTemplateService.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
                        }
53
53
                        set {
54
54
                                templates = value ?? new List<CodeTemplate> ();
 
55
                                OnTemplatesChanged (EventArgs.Empty);
55
56
                        }
56
57
                }
 
58
 
 
59
                public static event EventHandler TemplatesChanged;
 
60
 
 
61
                static void OnTemplatesChanged (EventArgs e)
 
62
                {
 
63
                        var handler = TemplatesChanged;
 
64
                        if (handler != null)
 
65
                                handler (null, e);
 
66
                }
57
67
                
58
68
                static CodeTemplateService ()
59
69
                {