public RegistryShard Export() { RegistryShard shard = new RegistryShard(); shard.BinPrefix = BinPrefix; shard.Language = Language; shard.Path = Path; shard.Hooks = Hooks; return(shard); }
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); } }
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); }
public RegistryShard Export() { RegistryShard shard = new RegistryShard(); shard.BinPrefix = BinPrefix; shard.Language = Language; shard.Path = Path; shard.Hooks = Hooks; return shard; }