AzureDevOpsComment Class

Summary

Class representing a comment in the pull request comment thread.
graph BT Type-->Base0["Object"] Type["AzureDevOpsComment"] class Type type-node

Syntax

public class AzureDevOpsComment

Constructors

Name Summary
AzureDevOpsComment() Initializes a new instance of the AzureDevOpsComment class with empty Git comment.
AzureDevOpsComment(string, bool) Initializes a new instance of the AzureDevOpsComment class.

Properties

Name Value Summary
Id short
Gets the comment id.
ThreadId int
Gets the thread id.

Methods

Extension Methods

Name Value Summary
Dump<AzureDevOpsComment>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AzureDevOpsComment>(AzureDevOpsComment[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AzureDevOpsComment>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AzureDevOpsComment>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<AzureDevOpsComment>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AzureDevOpsComment>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin