Class RefreshInstruction
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
[Serializable]
public class RefreshInstruction
Constructors
RefreshInstruction()
Declaration
public RefreshInstruction()
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
GuidId
Gets or sets the Guid data value.
Declaration
public Guid GuidId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
IntId
Gets or sets the int data value.
Declaration
public int IntId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
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 |
|
JsonIds
Gets or sets the ids data value.
Declaration
public string JsonIds { get; set; }
Property Value
Type |
Description |
System.String |
|
JsonPayload
Gets or sets the payload data value.
Declaration
public string JsonPayload { get; set; }
Property Value
Type |
Description |
System.String |
|
RefresherId
Gets or sets the refresher unique identifier.
Declaration
public Guid RefresherId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
RefreshType
Gets or sets the refresh action type.
Declaration
public RefreshMethodType RefreshType { get; set; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Equals(RefreshInstruction)
Declaration
protected bool Equals(RefreshInstruction other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
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 |
umbraco.interfaces.ICacheRefresher |
refresher |
|
MessageType |
messageType |
|
System.Collections.Generic.IEnumerable<System.Object> |
ids |
|
System.Type |
idType |
|
System.String |
json |
|
Returns
Operators
Equality(RefreshInstruction, RefreshInstruction)
Declaration
public static bool operator ==(RefreshInstruction left, RefreshInstruction right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(RefreshInstruction, RefreshInstruction)
Declaration
public static bool operator !=(RefreshInstruction left, RefreshInstruction right)
Parameters
Returns
Type |
Description |
System.Boolean |
|