Class CacheInstruction
Represents a cache instruction.
Inheritance
System.Object
      Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
[DataContract(IsReference = true)]
public class CacheInstructionConstructors
View SourceCacheInstruction(Int32, DateTime, String, String, Int32)
Initializes a new instance of the CacheInstruction class.
Declaration
public CacheInstruction(int id, DateTime utcStamp, string instructions, string originIdentity, int instructionCount)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | id | |
| DateTime | utcStamp | |
| System.String | instructions | |
| System.String | originIdentity | |
| System.Int32 | instructionCount | 
Properties
View SourceId
Cache instruction Id.
Declaration
public int Id { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
InstructionCount
Count of instructions.
Declaration
public int InstructionCount { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Instructions
Serialized instructions.
Declaration
public string Instructions { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
OriginIdentity
Identity of server originating the instruction.
Declaration
public string OriginIdentity { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
UtcStamp
Cache instruction created date.
Declaration
public DateTime UtcStamp { get; }Property Value
| Type | Description | 
|---|---|
| DateTime |