Class RuntimeHash
Determines the runtime hash based on file system paths to scan
Inheritance
object
Namespace: Umbraco.Cms.Core.Composing
Assembly: Umbraco.Core.dll
Syntax
public class RuntimeHash : IRuntimeHash
Constructors
View SourceRuntimeHash(IProfilingLogger, RuntimeHashPaths)
Initializes a new instance of the RuntimeHash class.
Declaration
public RuntimeHash(IProfilingLogger logger, RuntimeHashPaths paths)
Parameters
| Type | Name | Description |
|---|---|---|
| IProfilingLogger | logger | The profiling logger for timing hash calculations. |
| RuntimeHashPaths | paths | The paths to include in the hash calculation. |
Methods
View SourceGetHashValue()
Gets the hash value representing the current runtime state.
Declaration
public string GetHashValue()
Returns
| Type | Description |
|---|---|
| string | A string hash value that changes when the runtime changes. |