public SneakerModel(string name, SneakerBrand brand) : this(name) { Brand = brand; var predictedBase = name?.Split(new[] { ' ', '_', '-' }, StringSplitOptions.RemoveEmptyEntries)[0]; if (predictedBase != name) { BaseModel = new SneakerModel(predictedBase, brand); } }
public bool Equals(SneakerBrand other) => other != null && UniqueID == other.UniqueID;