public void Visit(ITableauInternal <TElement> tableau) { if (Content.ContainsKey(JsonProperties.Tableau)) { var pile = (JObject)Content[JsonProperties.Tableau]; Load(pile, tableau); } }
public void Visit(ITableauInternal <TElement> tableau) { if (Deck.Options.Tableau.Enabled) { var obj = new JObject(); Serialize(obj, tableau); Content.Add(JsonProperties.Tableau, obj); } }