コード例 #1
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    = ModuleName;
        }
コード例 #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";
        }
コード例 #3
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;
        }
コード例 #4
0
 public PowerRenameSettings(string ptName)
 {
     Properties = new PowerRenameProperties();
     Version    = "1";
     Name       = ptName;
 }
コード例 #5
0
 public PowerRenameSettings()
 {
     Properties = new PowerRenameProperties();
     Version    = "1";
     Name       = ModuleName;
 }
コード例 #6
0
 public PowerRenameSettings()
 {
     properties = new PowerRenameProperties();
     version    = "1";
     name       = "PowerRename";
 }