예제 #1
0
 /// <summary>
 /// Constructs <see cref="FileArtifactWithAttributes"/> based on the current FileAttribute instance
 /// with specified <paramref name="fileExistence"/> attibute.
 /// </summary>
 public FileArtifactWithAttributes WithAttributes(FileExistence fileExistence = FileExistence.Required, bool undeclaredSourceRewrite = false)
 {
     return(FileArtifactWithAttributes.FromFileArtifact(this, fileExistence, undeclaredSourceRewrite));
 }
예제 #2
0
 /// <summary>
 /// Constructs <see cref="FileArtifactWithAttributes"/> based on the current FileAttribute instance
 /// with specified <paramref name="fileExistence"/> attibute.
 /// </summary>
 public FileArtifactWithAttributes WithAttributes(FileExistence fileExistence = FileExistence.Required)
 {
     return(FileArtifactWithAttributes.FromFileArtifact(this, fileExistence));
 }