public Vegetable(IProduct legacyProduct, InventoryItemResolverOptions options) : base(legacyProduct, options) { }
public Seed(IProduct legacyProduct, InventoryItemResolverOptions options) : base(legacyProduct, options) { }
public static LegacyProduct ResolveItem(IProduct legacyProduct, InventoryItemResolverOptions options) { // ReSharper disable once PossibleInvalidOperationException switch ((ProductTypeEnum)legacyProduct.ProductTypeId) { case ProductTypeEnum.Metal: return new Metal(legacyProduct, options); case ProductTypeEnum.Wood: return new Wood(legacyProduct, options); case ProductTypeEnum.Plastic: return new Plastic(legacyProduct, options); case ProductTypeEnum.Seed: return new Seed(legacyProduct, options); case ProductTypeEnum.Mineral: return new Mineral(legacyProduct, options); case ProductTypeEnum.Chemical: return new Chemical(legacyProduct, options); case ProductTypeEnum.Textiles: return new Textiles(legacyProduct, options); case ProductTypeEnum.SugarAndSpice: return new SugarAndSpice(legacyProduct, options); case ProductTypeEnum.Glass: return new Glass(legacyProduct, options); case ProductTypeEnum.AnimalFeed: return new AnimalFeed(legacyProduct, options); case ProductTypeEnum.Hammer: return new Hammer(legacyProduct, options); case ProductTypeEnum.MeasuringTape: return new MeasuringTape(legacyProduct, options); case ProductTypeEnum.Shovel: return new Shovel(legacyProduct, options); case ProductTypeEnum.KitchenUtensils: return new KitchenUtensils(legacyProduct, options); case ProductTypeEnum.Nail: return new Nail(legacyProduct, options); case ProductTypeEnum.Planks: return new Plank(legacyProduct, options); case ProductTypeEnum.Brick: return new Brick(legacyProduct, options); case ProductTypeEnum.Cement: return new Cement(legacyProduct, options); case ProductTypeEnum.Glue: return new Glue(legacyProduct, options); case ProductTypeEnum.Chair: return new Chair(legacyProduct, options); case ProductTypeEnum.Table: return new Table(legacyProduct, options); case ProductTypeEnum.Grass: return new Grass(legacyProduct, options); case ProductTypeEnum.TreeSapling: return new TreeSapling(legacyProduct, options); case ProductTypeEnum.LawnFurniture: return new LawnFurniture(legacyProduct, options); case ProductTypeEnum.Vegetable: return new Vegetable(legacyProduct, options); case ProductTypeEnum.Flour: return new Flour(legacyProduct, options); case ProductTypeEnum.FruitsAndBerries: return new FruitsAndBerries(legacyProduct, options); case ProductTypeEnum.Cream: return new Cream(legacyProduct, options); case ProductTypeEnum.Donut: return new Donut(legacyProduct, options); case ProductTypeEnum.GreenSmoothie: return new GreenSmoothie(legacyProduct, options); case ProductTypeEnum.Cap: return new Cap(legacyProduct, options); case ProductTypeEnum.Shoe: return new Shoe(legacyProduct, options); case ProductTypeEnum.Watch: return new Watch(legacyProduct, options); default: throw new ApplicationException("No Implementation for Item Type " + legacyProduct.ProductTypeId); } }
public MeasuringTape(IProduct legacyProduct, InventoryItemResolverOptions options) : base(legacyProduct, options) { }
public LawnFurniture(IProduct legacyProduct, InventoryItemResolverOptions options) : base(legacyProduct, options) { }
protected LegacyProduct(IProduct legacyProduct, InventoryItemResolverOptions options) { if (options.MapQuantity) Quantity = legacyProduct.Quantity; }
public KitchenUtensils(IProduct legacyProduct, InventoryItemResolverOptions options) : base(legacyProduct, options) { }
public GreenSmoothie(IProduct legacyProduct, InventoryItemResolverOptions options) : base(legacyProduct, options) { }
public FruitsAndBerries(IProduct legacyProduct, InventoryItemResolverOptions options) : base(legacyProduct, options) { }
public TreeSapling(IProduct legacyProduct, InventoryItemResolverOptions options) : base(legacyProduct, options) { }
public SugarAndSpice(IProduct legacyProduct, InventoryItemResolverOptions options) : base(legacyProduct, options) { }