コード例 #1
0
 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);
 }
コード例 #2
0
 public ResourceTypeWithResources()
 {
     Add    = new AddResource(this);
     Edit   = new EditResourceTypeCommand(this);
     Delete = new DeleteResourceTypeCommand(this);
 }