internal TomlCommentLocation GetCommentLocation(TomlComment c) { switch (c.Location) { case CommentLocation.Append: return TomlCommentLocation.Append; case CommentLocation.Prepend: return TomlCommentLocation.Prepend; default: return this.defaultCommentLocation; } }
internal TomlCommentLocation GetCommentLocation(TomlComment c) { switch (c.Location) { case CommentLocation.Append: return(TomlCommentLocation.Append); case CommentLocation.Prepend: return(TomlCommentLocation.Prepend); default: return(this.defaultCommentLocation); } }
public TomlObject AddComment(TomlComment comment) { this.comments.Add(comment); return(this); }