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

            return(new BuildMetadata(dateCreated, Authors, Message));
        }
Esempio n. 2
0
        /// <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));
        }
Esempio n. 3
0
 public MetadataJSON(Metadata metadata)
 {
     Message = metadata.Message;
     Created = DateTimeString.GetString(metadata.CreatedTime);
     Authors = metadata.Authors;
 }