/// <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)); }
/// <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)); }