Esempio n. 1
0
		void DomLoaded (object sender, ProjectDomEventArgs e)
		{
			if (e.ProjectDom.Project != project)
				return;
			
			ProjectDomService.DomRegistered -= DomLoaded;
			subscribedDomLoaded = false;
			
			System.Threading.ThreadPool.QueueUserWorkItem (delegate {
				DomLoaded (e.ProjectDom);
			});
		}
Esempio n. 2
0
        void UpdateRegisteredDom(object sender, ProjectDomEventArgs e)
        {
            if (dom == null || dom.Project == null)
            {
                return;
            }
            var project = e.ProjectDom != null ? e.ProjectDom.Project : null;

            if (project != null && project.FileName == dom.Project.FileName)
            {
                dom = e.ProjectDom;
            }
        }
Esempio n. 3
0
        void DomLoaded(object sender, ProjectDomEventArgs e)
        {
            if (e.ProjectDom.Project != project)
            {
                return;
            }

            ProjectDomService.DomRegistered -= DomLoaded;
            subscribedDomLoaded              = false;

            System.Threading.ThreadPool.QueueUserWorkItem(delegate {
                DomLoaded(e.ProjectDom);
            });
        }
Esempio n. 4
0
		static void OnDomRegistered (ProjectDomEventArgs e)
		{
			EventHandler<ProjectDomEventArgs> handler = DomRegistered;
			if (handler != null)
				handler (null, e);
		}