Esempio n. 1
0
        /// <inheritdoc/>
        public void UpdateRecord(Guid id, AzurePipelinesRecordData data)
        {
            var properties = data.GetProperties();

            properties.Add("id", id.ToString());
            WriteLoggingCommand("task.logdetail", properties, "update");
        }
Esempio n. 2
0
        /// <inheritdoc/>
        public Guid CreateNewRecord(string name, string type, int order, AzurePipelinesRecordData data)
        {
            var guid       = Guid.NewGuid();
            var properties = data.GetProperties();

            properties.Add("id", guid.ToString());
            properties.Add("name", name);
            properties.Add("type", type);
            properties.Add("order", order.ToString());
            WriteLoggingCommand("task.logdetail", properties, "create new timeline record");
            return(guid);
        }