예제 #1
0
 public void When(PropertyMadeUnused evt)
 {
     _writer.Update(evt.FormId, list =>
     {
         var property = list.Properties.FirstOrDefault(x => x.Id == evt.PropertyId);
         property.IsUsed = false;
     });
 }
예제 #2
0
 public void When(PropertyMadeUnused evt)
 {
     IsUnused = true;
 }