View Source
Class RefreshInstruction
Assembly: Umbraco.Core.dll
Syntax
[Serializable]
[DataContract]
public class RefreshInstruction
Constructors
View Source
RefreshInstruction()
Declaration
public RefreshInstruction()
View Source
RefreshInstruction(Guid, RefreshMethodType, Guid, int, string, string)
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 |
|
| int |
intId |
|
| string |
jsonIds |
|
| string |
jsonPayload |
|
Properties
View Source
GuidId
Gets or sets the Guid data value.
Declaration
[DataMember]
public Guid GuidId { get; set; }
Property Value
View Source
IntId
Gets or sets the int data value.
Declaration
[DataMember]
public int IntId { get; set; }
Property Value
View Source
JsonIdCount
Gets or sets the number of Ids contained in the JsonIds json value.
Declaration
public int JsonIdCount { get; set; }
Property Value
View Source
JsonIds
Gets or sets the ids data value.
Declaration
[DataMember]
public string? JsonIds { get; set; }
Property Value
View Source
JsonPayload
Gets or sets the payload data value.
Declaration
[DataMember]
public string? JsonPayload { get; set; }
Property Value
View Source
RefreshType
Gets or sets the refresh action type.
Declaration
[DataMember]
public RefreshMethodType RefreshType { get; set; }
Property Value
View Source
RefresherId
Gets or sets the refresher unique identifier.
Declaration
[DataMember]
public Guid RefresherId { get; set; }
Property Value
Methods
View Source
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? other)
Parameters
| Type |
Name |
Description |
| object |
other |
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
View Source
Equals(RefreshInstruction)
Declaration
protected bool Equals(RefreshInstruction other)
Parameters
Returns
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
View Source
GetInstructions(ICacheRefresher, IJsonSerializer, MessageType, IEnumerable<object>?, 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
operator ==(RefreshInstruction, RefreshInstruction)
Declaration
public static bool operator ==(RefreshInstruction left, RefreshInstruction right)
Parameters
Returns
View Source
operator !=(RefreshInstruction, RefreshInstruction)
Declaration
public static bool operator !=(RefreshInstruction left, RefreshInstruction right)
Parameters
Returns