View Source
Class RefreshInstruction
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class RefreshInstruction
Constructors
View Source
RefreshInstruction()
Initializes a new instance of the class.
Declaration
public RefreshInstruction()
View Source
RefreshInstruction(Guid, RefreshMethodType, Guid, Int32, String, String)
Initializes a new instance of the class.
Declaration
public RefreshInstruction(Guid refresherId, RefreshMethodType refreshType, Guid guidId, int intId, string jsonIds, string jsonPayload)
Parameters
Type |
Name |
Description |
Guid |
refresherId |
|
RefreshMethodType |
refreshType |
|
Guid |
guidId |
|
System.Int32 |
intId |
|
System.String |
jsonIds |
|
System.String |
jsonPayload |
|
Properties
View Source
GuidId
Gets or sets the Guid data value.
Declaration
public Guid GuidId { get; set; }
Property Value
View Source
IntId
Gets or sets the int data value.
Declaration
public int IntId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
JsonIdCount
Gets or sets the number of Ids contained in the JsonIds json value.
Declaration
public int JsonIdCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
JsonIds
Gets or sets the ids data value.
Declaration
public string JsonIds { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
JsonPayload
Gets or sets the payload data value.
Declaration
public string JsonPayload { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
RefresherId
Gets or sets the refresher unique identifier.
Declaration
public Guid RefresherId { get; set; }
Property Value
View Source
RefreshType
Gets or sets the refresh action type.
Declaration
public RefreshMethodType RefreshType { get; set; }
Property Value
Methods
View Source
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
Equals(RefreshInstruction)
Declaration
protected bool Equals(RefreshInstruction other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
View Source
GetInstructions(ICacheRefresher, IJsonSerializer, MessageType, Nullable<IEnumerable<Object>>, Nullable<Type>, String)
Declaration
public static IEnumerable<RefreshInstruction> GetInstructions(ICacheRefresher refresher, IJsonSerializer jsonSerializer, MessageType messageType, IEnumerable<object>? ids, Type? idType, string json)
Parameters
Returns
Operators
View Source
Equality(RefreshInstruction, RefreshInstruction)
Declaration
public static bool operator ==(RefreshInstruction left, RefreshInstruction right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
Inequality(RefreshInstruction, RefreshInstruction)
Declaration
public static bool operator !=(RefreshInstruction left, RefreshInstruction right)
Parameters
Returns
Type |
Description |
System.Boolean |
|