private void Apply(PropertiesWriteActionDelegate action) { foreach (PropertiesContainer container in writeEnabledContainers) { container.ReadOnly = false; action(container); container.ReadOnly = true; } }
private void Apply(PropertiesWriteActionDelegate action) { foreach (var container in writeEnabledContainers) { container.ReadOnly = false; action(container); container.ReadOnly = true; } }