public PaletteEntry(JToken json) { if (json == null) { throw new ArgumentNullException(nameof(json)); } m_fabricStyle = new FabricStyle(json[JsonNames.FabricStyle]); }
protected PaletteEntry(PaletteEntry prototype) { if (prototype == null) { throw new ArgumentNullException(nameof(prototype)); } m_fabricStyle = prototype.m_fabricStyle?.Clone(); }
public PaletteEntry(FabricStyle fabricStyle) { m_fabricStyle = fabricStyle ?? throw new ArgumentNullException(nameof(fabricStyle)); }