Пример #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();
 }
Пример #2
0
 public void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     throw new System.NotImplementedException();
 }
Пример #3
0
 public UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     _attributesUpdate = attributesUpdate;
 }
 public void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     throw new NotSupportedException("UpdateAttributes");
 }
Пример #5
0
 public void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     _sb.Append("u@ " + ToConciseString(attributesUpdate) + "; ");
 }
Пример #6
0
 public override void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     throw new NotImplementedException();
 }
Пример #7
0
 public UpdateAttributesPostTarget(IAttributesUpdate attributesUpdate)
 {
     throw new NotImplementedException();
 }
Пример #8
0
 public abstract void UpdateAttributes(IAttributesUpdate attributesUpdate);
Пример #9
0
 public override void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     throw new ComposeException("Illegal composition");
 }
Пример #10
0
 public override void UpdateAttributes(IAttributesUpdate attributesUpdate)
 {
     _target = new UpdateAttributesPostTarget(attributesUpdate);
 }