public Content(CatalogContentTypes type, string[] commandParams) { this.Type = type; this.Title = commandParams[(int)CatalogItemsProperties.Title]; this.Author = commandParams[(int)CatalogItemsProperties.Author]; this.Size = ulong.Parse(commandParams[(int)CatalogItemsProperties.Size]); this.URL = commandParams[(int)CatalogItemsProperties.Url]; }