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