Exemple #1
0
 private static string ToConciseString(IAttributesUpdate update)
 {
     if (update.ChangeSize() == 0)
     {
         return "{}";
     }
     var b = new StringBuilder();
     b.Append("{ ");
     for (int i = 0; i < update.ChangeSize(); ++i)
     {
         if (i > 0)
         {
             b.Append(", ");
         }
         b.Append(update.GetChangeKey(i));
         b.Append(": ");
         b.Append(LiteralString(update.GetOldValue(i)));
         b.Append(" -> ");
         b.Append(LiteralString(update.GetNewValue(i)));
     }
     b.Append(" }");
     return b.ToString();
 }
 public void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     throw new System.NotImplementedException();
 }
 public UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     _attributesUpdate = attributesUpdate;
 }
 public void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     throw new NotSupportedException("UpdateAttributes");
 }
Exemple #5
0
 public void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     _sb.Append("u@ " + ToConciseString(attributesUpdate) + "; ");
 }
Exemple #6
0
 public override void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     throw new NotImplementedException();
 }
Exemple #7
0
 public UpdateAttributesPostTarget(IAttributesUpdate attributesUpdate)
 {
     throw new NotImplementedException();
 }
Exemple #8
0
 public abstract void UpdateAttributes(IAttributesUpdate attributesUpdate);
Exemple #9
0
 public override void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     throw new ComposeException("Illegal composition");
 }
Exemple #10
0
 public override void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     _target = new UpdateAttributesPostTarget(attributesUpdate);
 }