using System;
using System.Collections.Generic;
namespace MLEM.Misc {
///
/// Represents an object that can hold generic key-value based data.
/// A lot of MLEM components extend this class to allow for users to add additional data to them easily.
/// This implemention uses an underlying that only keeps track of non-default values.
///
public class GenericDataHolder : IGenericDataHolder {
private static readonly string[] EmptyStrings = new string[0];
private Dictionary data;
///
[Obsolete("This method will be removed in a future update in favor of the generic SetData.")]
public void SetData(string key, object data) {
this.SetData