Beispiel #1
0
        public ProjectInformation(Project project)
        {
            this.Project = project;
            string projectName = (null == project)? "NoExistingProject": project.Name;

            if (DepsInstalled)
            {
                engine = new Afrodite.CompletionEngine(projectName);
            }
        }
Beispiel #2
0
 /// <summary>
 /// Create a new AST wrapper
 /// </summary>
 /// <param name="instance">
 /// A <see cref="IntPtr"/>: The native pointer for this AST
 /// </param>
 /// <param name="engine">
 /// A <see cref="CompletionEngine"/>: The completion engine to which this AST belongs
 /// </param>
 public Ast(IntPtr instance, CompletionEngine engine)
 {
     this.instance = instance;
     this.engine   = engine;
 }