View Source
Class RefreshInstruction
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[Serializable]
public class RefreshInstruction
Constructors
View Source
RefreshInstruction()
Declaration
public RefreshInstruction()
View Source
RefreshInstruction(Guid, RefreshMethodType, Guid, Int32, String, String)
Declaration
public RefreshInstruction(Guid refresherId, RefreshMethodType refreshType, Guid guidId, int intId, string jsonIds, string jsonPayload)
Parameters
Type |
Name |
Description |
System.Guid |
refresherId |
|
RefreshMethodType |
refreshType |
|
System.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
Type |
Description |
System.Guid |
|
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
Type |
Description |
System.Guid |
|
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, MessageType, IEnumerable<Object>, Type, String)
Declaration
public static IEnumerable<RefreshInstruction> GetInstructions(ICacheRefresher refresher, MessageType messageType, IEnumerable<object> ids, Type idType, string json)
Parameters
Type |
Name |
Description |
ICacheRefresher |
refresher |
|
MessageType |
messageType |
|
System.Collections.Generic.IEnumerable<System.Object> |
ids |
|
System.Type |
idType |
|
System.String |
json |
|
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 |
|