public void AddToyConfiguration(string Id, ToysConfig ToyConfiguration) { if (!IsAdded(Id)) { ToyConfigurations.Add(Id, ToyConfiguration); } }
public static ToysConfig createToyConfig(string Id) { ToysConfig toysConfig = new ToysConfig { Id = Id, LHand = true, RHand = true, Inactive = false, Random = false, HType = HTypes.bHands }; return(toysConfig); }