Пример #1
0
        public ProjectDom LoadProjectDom(Project project)
        {
            DatabaseProjectDom dom = new DatabaseProjectDom(this, new ProjectCodeCompletionDatabase(project, this));

            dom.Project = project;
            return(dom);
        }
Пример #2
0
 public SerializationCodeCompletionDatabase GetDatabase(string uri)
 {
     try {
         DatabaseProjectDom dom = ProjectDomService.GetDomForUri(uri) as DatabaseProjectDom;
         if (dom != null)
         {
             return(dom.Database);
         }
     } catch (Exception e) {
         LoggingService.LogError("Can't load assembly: " + uri, e);
     }
     return(null);
 }
Пример #3
0
		public ProjectDom LoadProjectDom (Project project)
		{
			DatabaseProjectDom dom = new DatabaseProjectDom (this, new ProjectCodeCompletionDatabase (project, this));
			dom.Project = project;
			return dom;
		}