public PowerRenameSettings(PowerRenameLocalProperties localProperties) { if (localProperties == null) { throw new ArgumentNullException(nameof(localProperties)); } Properties = new PowerRenameProperties(); Properties.PersistState.Value = localProperties.PersistState; Properties.MRUEnabled.Value = localProperties.MRUEnabled; Properties.MaxMRUSize.Value = localProperties.MaxMRUSize; Properties.ShowIcon.Value = localProperties.ShowIcon; Properties.ExtendedContextMenuOnly.Value = localProperties.ExtendedContextMenuOnly; Version = "1"; Name = ModuleName; }
public PowerRenameSettings(string ptName) { Properties = new PowerRenameProperties(); Version = "1"; Name = ptName; }
public PowerRenameSettings() { Properties = new PowerRenameProperties(); Version = "1"; Name = ModuleName; }