public List<IEntity> this[string type]
{
get
{
switch (type.ToLower())
{
case Constants.ContentKeyLower:
return Content;
case Constants.PresentationKeyLower:
return Presentation;
case "listcontent":
return ListContent;
case "listpresentation":
return ListPresentation;
default:
throw new Exception("Type " + type + " not allowed");
}
}
}