Beispiel #1
0
        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;
        }
Beispiel #2
0
 public PowerRenameSettings(string ptName)
 {
     Properties = new PowerRenameProperties();
     Version    = "1";
     Name       = ptName;
 }
Beispiel #3
0
 public PowerRenameSettings()
 {
     Properties = new PowerRenameProperties();
     Version    = "1";
     Name       = ModuleName;
 }