public void RemoveAllOverrides() { _globalValues.RemoveAllOverrides(); foreach (var yieldCurveSnapshot in _yieldCurves.Values) { yieldCurveSnapshot.RemoveAllOverrides(); } foreach (var volatilityCubeSnapshot in _volatilityCubes.Values) { volatilityCubeSnapshot.RemoveAllOverrides(); } foreach (var surface in _volatilitySurfaces.Values) { surface.RemoveAllOverrides(); } }
public void RemoveAllOverrides() { _otherValues.RemoveAllOverrides(); foreach (var valueSnapshot in _values) { if (valueSnapshot.Value != null && valueSnapshot.Value.OverrideValue != null) { valueSnapshot.Value.OverrideValue = null; } } foreach (var valueSnapshot in _strikes) { if (valueSnapshot.Value != null && valueSnapshot.Value.OverrideValue != null) { valueSnapshot.Value.OverrideValue = null; } } }
public void RemoveAllOverrides() { _values.RemoveAllOverrides(); }