Class Difference
Represents a difference between two artifacts.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Deploy
Assembly: Umbraco.Core.dll
Syntax
public class Difference
Constructors
View SourceDifference(String, String, String)
Initializes a new instance of the Difference class.
Declaration
public Difference(string title, string text = null, string category = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | The title. |
System.String | text | The text. |
System.String | category | The category. |
Properties
View SourceCategory
Gets or sets the category.
Declaration
public string Category { get; set; }
Property Value
Type | Description |
---|---|
System.String | The category. |
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text. |
Title
Gets or sets the title.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The title. |
Methods
View SourceToString()
Converts the difference to a System.String.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the difference. |