Class CacheInstruction
Represents a cache instruction.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
[Serializable]
[DataContract(IsReference = true)]
public class CacheInstruction
Constructors
View SourceCacheInstruction(int, DateTime, string, string, int)
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 |
|---|---|---|
| int | id | |
| DateTime | utcStamp | |
| string | instructions | |
| string | originIdentity | |
| int | instructionCount |
Properties
View SourceId
Cache instruction Id.
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| int |
InstructionCount
Count of instructions.
Declaration
public int InstructionCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
Instructions
Serialized instructions.
Declaration
public string Instructions { get; }
Property Value
| Type | Description |
|---|---|
| string |
OriginIdentity
Identity of server originating the instruction.
Declaration
public string OriginIdentity { get; }
Property Value
| Type | Description |
|---|---|
| string |
UtcStamp
Cache instruction created date.
Declaration
public DateTime UtcStamp { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |