Exemple #1
0
 internal override SolutionEntityItem LoadSolutionItem(IProgressMonitor monitor, string fileName, ItemLoadCallback callback)
 {
     return(callback(monitor, fileName));
 }
		internal override SolutionEntityItem LoadSolutionItem (IProgressMonitor monitor, string fileName, ItemLoadCallback callback)
		{
			return callback (monitor, fileName);
		}
		internal virtual SolutionEntityItem LoadSolutionItem (IProgressMonitor monitor, string fileName, ItemLoadCallback callback)
		{
			loadCallbackStack.Push (callback);
			try {
				SolutionEntityItem res = LoadSolutionItem (monitor, fileName);
				return res;
			} finally {
				loadCallbackStack.Pop ();
			}
		}
Exemple #4
0
 internal virtual SolutionEntityItem LoadSolutionItem(IProgressMonitor monitor, string fileName, ItemLoadCallback callback)
 {
     loadCallbackStack.Push(callback);
     try {
         SolutionEntityItem res = LoadSolutionItem(monitor, fileName);
         return(res);
     } finally {
         loadCallbackStack.Pop();
     }
 }
 public static SolutionEntityItem LoadSolutionItem(IProgressMonitor monitor, string fileName, ItemLoadCallback callback)
 {
     using (Counters.ReadSolutionItem.BeginTiming("Read project " + fileName)) {
         return(Services.ProjectService.GetExtensionChain(null).LoadSolutionItem(monitor, fileName, callback));
     }
 }
		public static SolutionEntityItem LoadSolutionItem (IProgressMonitor monitor, string fileName, ItemLoadCallback callback)
		{
			using (Counters.ReadSolutionItem.BeginTiming ("Read project " + fileName)) {
				return Services.ProjectService.GetExtensionChain (null).LoadSolutionItem (monitor, fileName, callback);
			}
		}