GetLocator() public method

public GetLocator ( ) : string
return string
 public INewProjectDetailsBuilder ParentProject(Action<IBuildProjectHavingBuilder> parentProject)
 {
     var buildProjectHavingBuilder = new BuildProjectHavingBuilder();
     parentProject(buildProjectHavingBuilder);
     m_ParentLocator = buildProjectHavingBuilder.GetLocator();
     return this;
 }
        public void Name()
        {
            // Arrange
            var buildProjectHavingBuilder = new BuildProjectHavingBuilder();

            // Act
            buildProjectHavingBuilder.Name("ProjectName1");

            // Assert
            buildProjectHavingBuilder.GetLocator().Should().Be("name:ProjectName1");
        }
        public void Id()
        {
            // Arrange
            var buildProjectHavingBuilder = new BuildProjectHavingBuilder();

            // Act
            buildProjectHavingBuilder.Id("ProjectId1");

            // Assert
            buildProjectHavingBuilder.GetLocator().Should().Be("id:ProjectId1");
        }
Esempio n. 4
0
 public BuildHavingBuilder Project(Action<BuildProjectHavingBuilder> projectHavingBuilder)
 {
     var buildProjectHavingBuilder = new BuildProjectHavingBuilder();
     projectHavingBuilder(buildProjectHavingBuilder);
     m_Having.Add("project:" + buildProjectHavingBuilder.GetLocator());
     return this;
 }