public void SetProperties(AssignedBehavior assigned, Behaviors.PropertyAssignment[] properties) { var use = GetUse(assigned.useId); Debug.Assert(use.id == assigned.useId); Debug.Assert(use.behaviorUri == assigned.GetBehaviorUri()); use.propertyAssignments = properties; PutUse(use); }
public ICardModel GetCard() { return(new UnassignedCard(new UnassignedBehavior(use.GetBehaviorUri(), use.GetBehaviorSystem()))); }