Beispiel #1
0
        public BuildMetadata GetBuildMetadata()
        {
            var dateCreated = DateTimeString.FromString(Created);

            return(new BuildMetadata(dateCreated, Authors, Message));
        }
        /// <summary>
        /// Converts this object into a CommitMetadata object
        /// </summary>
        /// <returns></returns>
        public CommitMetadata GetMetadata()
        {
            var dateCreated = DateTimeString.FromString(Created);

            return(new CommitMetadata(dateCreated, Authors, Message));
        }
Beispiel #3
0
 public MetadataJSON(Metadata metadata)
 {
     Message = metadata.Message;
     Created = DateTimeString.GetString(metadata.CreatedTime);
     Authors = metadata.Authors;
 }