private MachineCleanupPolicy(DeleteMachinesBehavior deleteMachinesBehavior, TimeSpan deleteMachinesElapsedTimeSpan) { DeleteMachinesBehavior = deleteMachinesBehavior; if (deleteMachinesBehavior == DeleteMachinesBehavior.DeleteUnavailableMachines) { DeleteMachinesElapsedTimeSpan = deleteMachinesElapsedTimeSpan; } }
private YamlMachineCleanupPolicy(DeleteMachinesBehavior deleteMachinesBehavior, string deleteMachinesElapsedTimeSpan) { DeleteMachinesBehavior = deleteMachinesBehavior; DeleteMachinesElapsedTimeSpan = deleteMachinesElapsedTimeSpan; }