/// <summary> /// Reads a <see cref="FileArtifactWithAttributes"/> /// </summary> public FileArtifactWithAttributes ReadFileArtifactWithAttributes() { Start <FileArtifactWithAttributes>(); var value = FileArtifactWithAttributes.Deserialize(this); End(); return(value); }
/// <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> /// Writes a <see cref="FileArtifactWithAttributes"/> /// </summary> public void Write(FileArtifactWithAttributes value) { Start <FileArtifactWithAttributes>(); value.Serialize(this); End(); }
/// <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)); }