public ResourceTypeWithResources(string id, string name, string icon, string description)
 {
     this.id          = id;
     this.name        = name;
     this.icon        = icon;
     this.description = description;
     this.resources   = new ObservableCollection <Resource>();
     Add    = new AddResource(this);
     Edit   = new EditResourceTypeCommand(this);
     Delete = new DeleteResourceTypeCommand(this);
 }
 public ResourceTypeWithResources()
 {
     Add    = new AddResource(this);
     Edit   = new EditResourceTypeCommand(this);
     Delete = new DeleteResourceTypeCommand(this);
 }