using System.Collections.Generic;
namespace NeXt.Vdf
{
///
/// Abstract VdfValue
///
public abstract class VdfValue
{
public VdfValue(string name)
{
Name = name;
}
///
/// This values name
///
public string Name { get; private set; }
private List comments = new List();
///
/// This values type, determines how it can be casted
///
public VdfValueType Type { get; protected set; }
///
/// Comments that where in front of this VdfValue
///
public ICollection Comments { get { return comments; } }
///
/// This values Parent, null for root
///
public VdfValue Parent { get; internal set; }
}
}