~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/Main/Base/Project/Src/Services/ProjectBinding/IProjectBinding.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
 
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
 
3
 
 
4
using System;
 
5
using ICSharpCode.SharpDevelop.Internal.Templates;
 
6
 
 
7
namespace ICSharpCode.SharpDevelop.Project
 
8
{
 
9
        /// <summary>
 
10
        /// The <code>IProjectBinding</code> interface is the base interface
 
11
        /// of all project bindings avaiable.
 
12
        /// </summary>
 
13
        public interface IProjectBinding
 
14
        {
 
15
                /// <returns>
 
16
                /// The language for this project binding.
 
17
                /// </returns>
 
18
                string Language {
 
19
                        get;
 
20
                }
 
21
                
 
22
                IProject LoadProject(ProjectLoadInformation info);
 
23
                
 
24
                /// <summary>
 
25
                /// Creates a IProject out of the given ProjetCreateInformation object.
 
26
                /// Each project binding must provide a representation of the project
 
27
                /// it 'controls'.
 
28
                /// </summary>
 
29
                IProject CreateProject(ProjectCreateInformation info);
 
30
                
 
31
                /// <summary>
 
32
                /// Determines whether this ProjectBinding handling missing project file 
 
33
                /// itself or it relies on the default logic of creating MissingProject project
 
34
                /// </summary>
 
35
                bool HandlingMissingProject { get; }
 
36
        }
 
37
}