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);
    }
예제 #2
0
 public ICardModel GetCard()
 {
     return(new UnassignedCard(new UnassignedBehavior(use.GetBehaviorUri(), use.GetBehaviorSystem())));
 }