Ejemplo n.º 1
0
 public MockProjectBuilder ProjectBuilder(string name, string filename, ProjectProtection protection)
 {
     return(new MockProjectBuilder(name, filename, protection, () => _vbe.Object, this));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a <see cref="MockProjectBuilder"/> to build a new project.
 /// </summary>
 /// <param name="name">The name of the project to build.</param>
 /// <param name="protection">A value that indicates whether the project is protected.</param>
 public MockProjectBuilder ProjectBuilder(string name, ProjectProtection protection)
 {
     return(ProjectBuilder(name, string.Empty, protection));
 }
Ejemplo n.º 3
0
 public MockProjectBuilder ProjectBuilder(string name, string filename, string projectId, ProjectProtection protection, ProjectType projectType = ProjectType.HostProject)
 {
     return(new MockProjectBuilder(name, filename, projectId, protection, projectType, () => _vbe.Object, this));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Creates a <see cref="MockProjectBuilder"/> to build a new project.
 /// </summary>
 /// <param name="name">The name of the project to build.</param>
 /// <param name="protection">A value that indicates whether the project is protected.</param>
 public MockProjectBuilder ProjectBuilder(string name, ProjectProtection protection, ProjectType projectType = ProjectType.HostProject)
 {
     return(ProjectBuilder(name, string.Empty, protection, projectType));
 }
Ejemplo n.º 5
0
        public MockProjectBuilder ProjectBuilder(string name, string filename, ProjectProtection protection)
        {
            var result = new MockProjectBuilder(name, filename, protection, () => _vbe.Object, this);

            return(result);
        }