public MockProjectBuilder ProjectBuilder(string name, string filename, ProjectProtection protection) { return(new MockProjectBuilder(name, filename, protection, () => _vbe.Object, this)); }
/// <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)); }
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)); }
/// <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)); }
public MockProjectBuilder ProjectBuilder(string name, string filename, ProjectProtection protection) { var result = new MockProjectBuilder(name, filename, protection, () => _vbe.Object, this); return(result); }