public PowerRenameSettings(PowerRenameLocalProperties 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(PowerRenameLocalProperties 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    = "PowerRename";
        }
        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;
        }