DXVcs2Git.Core.CommentWrapper.Parse C# (CSharp) Method

Parse() public static method

public static Parse ( string comment ) : CommentWrapper
comment string
return CommentWrapper
        public static CommentWrapper Parse(string comment)
        {
            if (!CheckStructure(comment))
                return new CommentWrapper() {Comment = comment};
            return new CommentWrapper() {
                Author = ParseAuthor(comment),
                Token = ParseToken(comment),
                Comment = ParseComment(comment),
            };
        }