private void Save() { if (!enabled || metadata == null) { return; } int hash = metadata.GetContentHash(); if (hash != referenceHash) { log.DebugFormat("Autosave saving. - {0}", hash); metadata.PerformAutosave(); referenceHash = hash; } }
private void Save() { if (!enabled || metadata == null) { return; } int hash = metadata.GetContentHash(); if (hash != referenceHash) { log.DebugFormat("Autosave saving. - {0}", hash); metadata.PerformAutosave(); referenceHash = hash; } }