public PresetModel(string name, string options, string biosBoot, string uefiBoot, PresetCasing labelCase, PresetCasing destinationCase) { Name = name; Options = options; BiosBoot = biosBoot; UefiBoot = uefiBoot; LabelCase = labelCase; DestinationCase = destinationCase; }
public void GetValues(PresetModel preset) { Name = preset.Name.Trim(); Options = preset.Options.Trim(); BiosBoot = preset.BiosBoot.Trim(); UefiBoot = preset.UefiBoot.Trim(); LabelCase = preset.LabelCase; DestinationCase = preset.DestinationCase; }