예제 #1
0
        public RegistryShard Export()
        {
            RegistryShard shard = new RegistryShard();

            shard.BinPrefix = BinPrefix;
            shard.Language  = Language;
            shard.Path      = Path;

            shard.Hooks = Hooks;

            return(shard);
        }
예제 #2
0
        public void Import(RegistryShard shard)
        {
            if (shard.BinPrefix != null)
            {
                BinPrefix = shard.BinPrefix;
            }
            if (shard.Language != null)
            {
                Language = shard.Language;
            }
            if (shard.Path != null)
            {
                Path = shard.Path;
            }

            if (shard.Hooks != null)
            {
                Hooks.AddRange(shard.Hooks);
            }
        }
예제 #3
0
        public void Import(RegistryShard shard)
        {
            if (shard.BinPrefix != null) BinPrefix = shard.BinPrefix;
            if (shard.Language != null) Language = shard.Language;
            if (shard.Path != null) Path = shard.Path;

            if (shard.Hooks != null) Hooks.AddRange(shard.Hooks);
        }
예제 #4
0
        public RegistryShard Export()
        {
            RegistryShard shard = new RegistryShard();

            shard.BinPrefix = BinPrefix;
            shard.Language = Language;
            shard.Path = Path;

            shard.Hooks = Hooks;

            return shard;
        }